Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open last form in MDI application start
Message
De
16/04/2007 04:19:18
 
 
À
15/04/2007 14:16:16
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01216062
Message ID:
01216128
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform