This documentation is archived and is not being maintained.

Application Events

The events of the Application class are listed here. For a complete list of Application class members, see the Application Members topic.

Public Events

public eventstatic (Shared in Visual Basic)ApplicationExit Occurs when the application is about to shut down.
public eventstatic (Shared in Visual Basic)Idle Occurs when the application finishes processing and is about to enter the idle state.
public eventstatic (Shared in Visual Basic)ThreadException Occurs when an untrapped thread exception is thrown.
public eventstatic (Shared in Visual Basic)ThreadExit Occurs when a thread is about to shut down. When the main thread for an application is about to be shut down, this event is raised first, followed by an ApplicationExit event.

See Also

Application Class | System.Windows.Forms Namespace