Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows Form WinForm Event Cycle?
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
Windows Form WinForm Event Cycle?
Miscellaneous
Thread ID:
00716601
Message ID:
00716601
Views:
44
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!
Next
Reply
Map
View

Click here to load this message in the networking platform