My application start like this:
frmMaster MainForm = new frmMaster();
System.Windows.Forms.Application.Run(MainForm);
The flow is that MainForm shows then a SecondForm shows after the user
does something. This is an MDI app so SecondForm needs to always be
inside MainForm. There are times I need to automatically load the app
and display second form. I'm not sure how that is done. If I do:
frmMaster MainForm = new frmMaster();
frmSecond SecondForm = new frmSecond (someobject);
System.Windows.Forms.Application.Run(SecondForm);
MainForm.Show();
SecondForm.Show();
MainForm is never displayed and SecondForm loads by itself. No
processing needs to take place on MainForm when SecondForm loads
automatically, as in the above code. How can I get SecondForm loaded
inside the MainForm MDI?
Thanks,
Brett