MainWindow (read-only)

STATIC PROPERTY READ MainWindow AS Object

Returns the main window of the application.

The main window is the first created window or form in your application. Closing the main window implies closing all other opened windows and quitting the application.