Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open last form in MDI application start
Message
From
16/04/2007 04:19:18
 
 
To
15/04/2007 14:16:16
General information
Forum:
ASP.NET
Category:
Forms
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01216062
Message ID:
01216128
Views:
14
Hi,

>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

Another option *might* be to serialize the form - that way you could recreate it in pretty much the same state that it was in when it was closed....
Just a thought,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform