WinForms event life cycle
.net, events, user-controls, winforms
Solution
According to MSDN:
Startup events of the main form are raised in the following order:
Control.HandleCreated
Control.BindingContextChanged
Form.Load
Control.VisibleChanged
Form.Activated
Form.Shown
Shutdown events of the main form are raised in the following order:
Form.Closing
Form.FormClosing
Form.Closed
Form.FormClosed
Form.Deactivate
Application.ApplicationExit *
I'm aware this is an old question, but I thought I'd include an actual answer since most are mere links.
Problem
Just like there is Page life cycle in web applications, what is the event life cycle for WinForms, especially between Form and User Controls?