Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating a form in C#
Message
De
07/09/2007 01:48:59
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Instantiating a form in C#
Divers
Thread ID:
01252921
Message ID:
01252921
Vues:
55
Hi guys,

Is there a way to instantiate a windows form by storing the name of the form in a variable then using the variable to instantiate it?

The reason why I'm asking is to minimize the code that I have to write in a switch statement since we have more than 100 modules in our application.

I'm wondering if there is a way just the way we do it in Visual Foxpro.


Thanks in advance...
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform