Launching a form from a form
Posted on 2011-03-08
I have an application developed under Microsoft Visual Studio .NET 2003 (Visual C++) with two forms, Form1 and Form2.
When I click a button on Form1 (Button2) I want to hide Form1 and show Form2. But how ?
(Yes, I am a newbie on this topic.. :-( ).
The code generated by MS Visual Studio .NET 2003 (Visual C++) is:
private: System::Void button2_Click(System::Object * sender, System::EventArgs * e)
// Put some code in here to launch Form2.