Application Methods
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | AddMessageFilter(IMessageFilter^) | Adds a message filter to monitor Windows messages as they are routed to their destinations. |
![]() ![]() | DoEvents() | Processes all Windows messages currently in the message queue. |
![]() ![]() | EnableVisualStyles() | Enables visual styles for the application. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() ![]() | Exit() | Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed. |
![]() ![]() | Exit(CancelEventArgs^) | Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed. |
![]() ![]() | ExitThread() | Exits the message loop on the current thread and closes all windows on the thread. |
![]() ![]() | FilterMessage(Message%) | Runs any filters against a window message, and returns a copy of the modified message. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | OleRequired() | Initializes OLE on the current thread. |
![]() ![]() | OnThreadException(Exception^) | Raises the ThreadException event. |
![]() ![]() | RaiseIdle(EventArgs^) | Raises the Idle event in hosted scenarios. |
![]() ![]() | RegisterMessageLoop(Application::MessageLoopCallback^) | Registers a callback for checking whether the message loop is running in hosted environments. |
![]() ![]() | RemoveMessageFilter(IMessageFilter^) | Removes a message filter from the message pump of the application. |
![]() ![]() | Restart() | Shuts down the application and starts a new instance immediately. |
![]() ![]() | Run() | Begins running a standard application message loop on the current thread, without a form. |
![]() ![]() | Run(ApplicationContext^) | Begins running a standard application message loop on the current thread, with an ApplicationContext. |
![]() ![]() | Run(Form^) | Begins running a standard application message loop on the current thread, and makes the specified form visible. |
![]() ![]() | SetCompatibleTextRenderingDefault(Boolean) | Sets the application-wide default for the UseCompatibleTextRendering property defined on certain controls. |
![]() ![]() | SetSuspendState(PowerState, Boolean, Boolean) | Suspends or hibernates the system, or requests that the system be suspended or hibernated. |
![]() ![]() | SetUnhandledExceptionMode(UnhandledExceptionMode) | Instructs the application how to respond to unhandled exceptions. |
![]() ![]() | SetUnhandledExceptionMode(UnhandledExceptionMode, Boolean) | Instructs the application how to respond to unhandled exceptions, optionally applying thread-specific behavior. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() ![]() | UnregisterMessageLoop() | Unregisters the message loop callback made with RegisterMessageLoop. |

