Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call windows form event?
Message
De
22/03/2003 09:57:52
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00768888
Message ID:
00768905
Vues:
20
Ahmad,
You need to call the PerformClick method to raise a button's click event, as in:

btnExit.PerformClick()

In the example you had, you might also consider using the ButtonCancel property for the form, so when they press escape it calls the button's click method, as in:

Me.CancelButton = btnExit

Ron
Ron Hodge
Sebrex Systems, Inc.
Atlanta, GA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform