I am trying to use a button to open 2 instances of the same Form wich meens that two windows/Forms actully will open of the same Form.
I have created 2 instances like this where I try to open 2 at the same time with the button2_Click_3 below but I cant figure out what I could be doing wrong.
What happens is that, First form21instance do opens and then when I close this instance, form22instance is opened.
What I want is that the Form opens twice.
Any idéas what this could depend on ?
public ref class Form3 : public System::Windows::Forms::Form
private: Form2 form21instance;
private: Form2 form22instance;
private: System::Void button2_Click_3(System::Object^ sender, System::EventArgs^ e)