Class Application
public static class Application
- Inheritance
-
Application
Properties
Clipboard
public static string Clipboard { get; set; }
Property Value
MousePosition
Screen coordinate of the mouse.
public static Point MousePosition { get; set; }
Property Value
WindowWithFocus
Window that currently has the focus.
public static Window WindowWithFocus { get; }
Property Value
Windows
List of windows managed by the application.
public static List<Window> Windows { get; }
Property Value
Methods
ProcessEvent(Event)
Process a single event and dispatch it to the right window.
public static void ProcessEvent(Event e)
Parameters
e
Event
ProcessEvents()
Process all available events.
public static void ProcessEvents()
RegisterWindow(Window)
Register c
to the list of available windows.
public static void RegisterWindow(Window c)
Parameters
c
WindowWindow to register
UnregisterWindow(Window)
Unregister c
from the list of available windows.
public static void UnregisterWindow(Window c)
Parameters
c
WindowWindow to unregister