Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Form WinForm Event Cycle?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Windows Form WinForm Event Cycle?
Divers
Thread ID:
00716601
Message ID:
00716601
Vues:
45
What events/methods are executed/called on a standard winform with any
number of controls? If this was VFP7, I would say the event model
followed:
Form.Load
FirstControl.Load
FirstControl.Init
SecondControl.Load
SecondControl.Init
etc
Form.Init
Form.Show
Form.Activate
Form.Refresh
FirstControl.Activate
FirstControl.Refresh
etc
Form.GotFocus
And then the "read events" cycle begins.

What is the order for .NET? I need to do some connection work in a
WinForm after the form loads but before the controls display and then
again before the user is allowed to touch the form. In VFP7 I would
stick appropriate code in the Form.Load and Form.Activate methods.

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform