public static void TraceMethod() { app a = new app(); a.MainWindow = new MainWindow(); a.MainWindow.Show(); a.Run(); }