Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Application Methods

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

Public Methods

public methodstatic (Shared in Visual Basic)AddMessageFilter Adds a message filter to monitor Windows messages as they are routed to their destinations.
public methodstatic (Shared in Visual Basic)DoEvents

Supported by the .NET Compact Framework.

Processes all Windows messages currently in the message queue.
public methodstatic (Shared in Visual Basic)EnableVisualStyles Enables Windows XP visual styles for the application.
public methodstatic (Shared in Visual Basic)Exit

Supported by the .NET Compact Framework.

Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.
public methodstatic (Shared in Visual Basic)ExitThread Exits the message loop on the current thread and closes all windows on the thread.
public methodstatic (Shared in Visual Basic)OleRequired Initializes OLE on the current thread.
public methodstatic (Shared in Visual Basic)OnThreadException Raises the ThreadException event.
public methodstatic (Shared in Visual Basic)RemoveMessageFilter Removes a message filter from the message pump of the application.
public methodstatic (Shared in Visual Basic)Run

Supported by the .NET Compact Framework.

Overloaded. Begins running a standard application message loop on the current thread.

See Also

Application Class | System.Windows.Forms Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.