System.Windows.Forms.ApplicationContext Members

The members of System.Windows.Forms.ApplicationContext are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Windows.Forms.ApplicationContext class with no context.

Initializes a new instance of the System.Windows.Forms.ApplicationContext class with the specified System.Windows.Forms.Form.

Public Properties

MainFormForm.

Gets or sets the System.Windows.Forms.Form to use as context.

Tagobject.

Gets or sets an object that contains data about the control.

Public Methods

Dispose()

Releases all resources used by the System.Windows.Forms.ApplicationContext.

ExitThread()

Terminates the message loop of the thread.

Finalize()

Attempts to free resources and perform other cleanup operations before the application context is reclaimed by garbage collection.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.Windows.Forms.ApplicationContext and optionally releases the managed resources.

ExitThreadCore()

Terminates the message loop of the thread.

OnMainFormClosed(object, EventArgs)

Calls ApplicationContext.ExitThreadCore, which raises the ApplicationContext.ThreadExit event.

Public Events

ThreadExit

Occurs when the message loop of the thread should be terminated, by calling ApplicationContext.ExitThread.