public static void Main() { ThrowWindowParty app = new ThrowWindowParty(); //app.ShutdownMode = ShutdownMode.OnMainWindowClose; app.Run(); }
public static void Main() { ThrowWindowParty app = new ThrowWindowParty(); app.Run(); }
[STAThread] // работа в одном потоке public static void Main() { ThrowWindowParty app = new ThrowWindowParty(); // создаем приложение app.Run(); // запускаем приложение }
public static void Main() { ThrowWindowParty app = new ThrowWindowParty(); // creates a WPF application app.Run(); } // starts that application