Class ApplicationContext
Specifies the contextual information about an application thread.
public class ApplicationContext : BaseComponent, IBaseObject, IDisposableObject, IComponent, IDisposable
- Inheritance
-
ApplicationContext
- Implements
Constructors
- ApplicationContext()
Initializes a new instance of the ApplicationContext class with no context.
- ApplicationContext(Window?)
Initializes a new instance of the ApplicationContext class with the specified Window.
Properties
Methods
- DisposeManaged()
Override to dispose managed resources. Here we dispose all used object references.
- ExitThread()
Terminates the message loop of the thread.
- ExitThreadCore()
Terminates the message loop of the thread.
- OnMainFormClosed(object?, EventArgs)
Calls ExitThreadCore(), which raises the ThreadExit event.
Events
- ThreadExit
Occurs when the message loop of the thread should be terminated, by calling ExitThread().