Thursday, July 30, 2009

Can someone help with C++.NET?

I am creating a menu for a windows form. The items are save; print; undo; and clear form. I figured out how to make the application exit, but I can't figure out what to do to make the other menu items work.





Also when I run the program it isn't showing the menu in the application. I'm not sure why that is either. Any ideas on what I should do for these problems?





Thanks!





Here's some of what I have:





private: System::Void menuItem6_Click(System::Object * sender, System::EventArgs * e) //to close program


{


Application::Exit();


}





private: System::Void menuItem5_Click(System::Object * sender, System::EventArgs * e) //to print


{





}





private: System::Void menuItem4_Click(System::Object * sender, System::EventArgs * e) //to save


{





}





private: System::Void menuItem3_Click(System::Object * sender, System::EventArgs * e) //to undo last action


{


}

Can someone help with C++.NET?
I found a referance for C#, link below. You should be able to use that as a guide to figure out what to do. Just search for "printToolStripButton_Click" in your favorite search engine. When I need help, I search for the object I'm creating or (Printpreviewdialog or PrintPreviewDialog1) (MenuStrip or MenuStrip1 with Standard Items)or the click event (printToolStripButton_Click) that creates the print call.


http://www.google.com/search?hl=en%26amp;q=pri...

peony

No comments:

Post a Comment