Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding a second windows form

Status
Not open for further replies.

Bones3

Programmer
Jul 27, 2003
151
US
I am building my first windows form and am having trouble finding a good place to grab the basics. I have managed to figure out everything nicely so far except I don't know what to type in when I want a button or menuItem to open up another form. For example if I wanted MenuItemHelp to open up a new form when it is clicked with pictures and whatever I want in it.

-Bones
 
After at the code in the MDI list tutorial I came to the conclusion that the following will open up a new form when added to the click event:

Form2 *newForm = new Form2();
newForm->Show();

I still have a lot to learn, lol.

-Bones
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top