Method Run
Run(Window)
Starts an application UI event loop and makes the specified window visible. Begins running a UI event processing loop on the current thread.
public virtual void Run(Window window)
Parameters
Remarks
Typically, the main function of an application calls this method and passes to it the main window of the application.