January
8th,
2007
When deveploping windows forms app, it’s important to understand the event lifecycle of a form. That way you know what code to put where to ensure it’s loaded at the appropriate time. That being said I wrote a small app to detail the events in a basic windows form application. Greater indentations indicate nested events
Form Startup
- OnHandleCreated
- OnCreateControl
- OnLoad
- OnActivated
- OnShown
Form Shutdown
- OnClosing
- OnClosed
- OnDeactivate
- OnHandleDestroyed