Windows Forms Application Life Cycle
- 2 minutes to read
The table in this topic details the steps performed while an XAF Windows Forms application is running.
Stage | Description | Ways to Customize |
---|---|---|
Application is created | See Windows Forms Application Creation and Initialization. | |
Splash screen is invoked | The ISplash. |
See Loading Panels / Splash Forms (Win |
An end-user is authenticated | See User Authentication using a Logon Window in Windows Forms Applications and User Authentication Without a Logon Window in Windows Forms Applications. | See Customize Standard Authentication Behavior and Supply Additional Logon Parameters (. |
Start-up Popup Window Show Actions are executed | A collection of Popup Window Show Actions is populated by the Actions that are registered as start-up Actions in modules used by the application. For instance, the Change |
To register an Action as a start-up, override the Get |
Main window is shown | The application object asks its Show View Strategy (see Show |
|
Splash screen is closed | A splash screen is closed by the ISplash. |
|
Main window is displayed until a user closes it | A user can close the main window by executing the Exit or Log |