Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I create objects out of variable array?
Message
De
14/09/2004 22:11:41
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
À
14/09/2004 21:51:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00942202
Message ID:
00942214
Vues:
17
example:
public System.Windows.Forms.Button C1 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C2 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C3 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C4 = new System.Windows.Forms.Button()
public System.Windows.Forms.Button C5 = new System.Windows.Forms.Button()
instead of creating the objects one line per object, can I create an object array say
Object[] myObject = new Object[5] {1,2,3,4,5};
then use those object array as handles?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform