static void Main(string[] args) { // Example 1. //Window myWindow = new Window(); //myWindow.Title = "My Simple Window"; //myWindow.Content = "Hi there!"; //Application myApplication = new Application(); //myApplication.Run(myWindow); // Example 2. MyWindow myWindow = new MyWindow(); myWindow.Show(); Application app = new Application(); app.Run(); }