The Form and Control classes expose a set of events related to application startup and shutdown. When a Windows Forms application starts, the startup events of the main form are raised in the following order:
When an application closes, the shutdown events of the main form are raised in the following order:
The ApplicationExit event of the Application class is raised after the shutdown events of the main form.
No comments:
Post a Comment