Provides static methods and properties to manage an application, such as methods to start and stop an application, to process Windows messages, and properties to get information about an application. This class cannot be inherited.
See Also: Application Members
The System.Windows.Forms.Application class has methods to start and stop applications and threads, and to process Windows messages, as follows:
Application.Run starts an application message loop on the current thread and, optionally, makes a form visible.
Application.DoEvents processes messages while your program is in a loop.
Application.AddMessageFilter(IMessageFilter) adds a message filter to the application message pump to monitor Windows messages.
System.Windows.Forms.IMessageFilter lets you stop an event from being raised or perform special operations before invoking an event handler.
You cannot create an instance of this class.