I wonder how it is possible to open 2 instances at the same time of a Form.
Normally when you ex press a button to open another form, one instance of that form is opened.
If I put these 2 lines inside a buttoncontrol, first one instance is opened and when I close this opened form, then the next line executes and the same form opens again.
How could it be possible to open both at the same time, so I have 2 instances open ?
this->form2instance.ShowDialog();
this->form2instance.ShowDialog();