Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set property of Form
Message
De
19/01/2004 16:25:12
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00868297
Message ID:
00868312
Vues:
19
Since Form B is a dialog, control won't return to Form A until the user closes Form B. When a user closes a DialogForm, the form is not disposed. So, your calling form can access public properties on the DialogForm. So, all you have to do is make the property on Form B public, and then access it from Form A once control returns there.
frmSelect.ShowDialog()  
int i = frmSelect.TreeItemSelected
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform