Okay I am probably going to get a load of down votes for this question as it is incredibly basic but I cannot seem to find my solution from googling it. I am using visual c++ 2005 .net and I am creating forms in the style of a wizard. I basically want a button to be clicked to get to the next form. The first form is Form1.h and the form I want it to go to is called Parts.h Any help would be appreciated, thank you.
Here is the code:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
Basically, you need to create a new instance of the form you want to open, and then show it. You can do it by doing something like this:
Plus, you need to include the second form on the form that is going to open it.