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 12:04:46
 
 
À
16/04/2007 04:19:18
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01216062
Message ID:
01216291
Vues:
13
>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....

Viv,

thank you.
I have code in form constructor which re-creates form OK.
So I simply need to call this form at application startup.

I think about the following approach:

1. Retrieve actual calling class name from base class constructor and store it in isolated storage (application can be run form web browser also).

2. At startup retrieve form name and create mdi child from it using reflection.

Where to find any sample code for this?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform