Application Methods

Application Methods

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddMessageFilter(IMessageFilter)

Adds a message filter to monitor Windows messages as they are routed to their destinations.

System_CAPS_pubmethodSystem_CAPS_staticDoEvents()

Processes all Windows messages currently in the message queue.

System_CAPS_pubmethodSystem_CAPS_staticEnableVisualStyles()

Enables visual styles for the application.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticExit()

Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.

System_CAPS_pubmethodSystem_CAPS_staticExit(CancelEventArgs)

Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed.

System_CAPS_pubmethodSystem_CAPS_staticExitThread()

Exits the message loop on the current thread and closes all windows on the thread.

System_CAPS_pubmethodSystem_CAPS_staticFilterMessage(Message)

Runs any filters against a window message, and returns a copy of the modified message.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticOleRequired()

Initializes OLE on the current thread.

System_CAPS_pubmethodSystem_CAPS_staticOnThreadException(Exception)

Raises the ThreadException event.

System_CAPS_pubmethodSystem_CAPS_staticRaiseIdle(EventArgs)

Raises the Idle event in hosted scenarios.

System_CAPS_pubmethodSystem_CAPS_staticRegisterMessageLoop(Application.MessageLoopCallback)

Registers a callback for checking whether the message loop is running in hosted environments.

System_CAPS_pubmethodSystem_CAPS_staticRemoveMessageFilter(IMessageFilter)

Removes a message filter from the message pump of the application.

System_CAPS_pubmethodSystem_CAPS_staticRestart()

Shuts down the application and starts a new instance immediately.

System_CAPS_pubmethodSystem_CAPS_staticRun()

Begins running a standard application message loop on the current thread, without a form.

System_CAPS_pubmethodSystem_CAPS_staticRun(ApplicationContext)

Begins running a standard application message loop on the current thread, with an ApplicationContext.

System_CAPS_pubmethodSystem_CAPS_staticRun(Form)

Begins running a standard application message loop on the current thread, and makes the specified form visible.

System_CAPS_pubmethodSystem_CAPS_staticSetCompatibleTextRenderingDefault(Boolean)

Sets the application-wide default for the UseCompatibleTextRendering property defined on certain controls.

System_CAPS_pubmethodSystem_CAPS_staticSetSuspendState(PowerState, Boolean, Boolean)

Suspends or hibernates the system, or requests that the system be suspended or hibernated.

System_CAPS_pubmethodSystem_CAPS_staticSetUnhandledExceptionMode(UnhandledExceptionMode)

Instructs the application how to respond to unhandled exceptions.

System_CAPS_pubmethodSystem_CAPS_staticSetUnhandledExceptionMode(UnhandledExceptionMode, Boolean)

Instructs the application how to respond to unhandled exceptions, optionally applying thread-specific behavior.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticUnregisterMessageLoop()

Unregisters the message loop callback made with RegisterMessageLoop.

Return to top
Show:
© 2016 Microsoft