General information
Title:
Windows Form WinForm Event Cycle?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only