I have C# WinForms MDI application.
MDI child forms are created by menustrip click event handler
AppDesktop.FormMgr.Show(new ChildForm1("param1", "param2") );
Every MDI child form "childform1" may have separate class with different name and different number of parameters.
When application in opened, last MDI child form must be opened automatically.
I think I must store last opened form name to isolated storage and call
AppDesktop.FormMgr.Show(new LastOpenedForm(lastParam1, lastParam2) );
Reflection should probably used to make this call.
Any sample code or idea to implement this ?
Andrus