void AppStartingUp(object sender, StartupEventArgs e) { Window1 mainWindow = new Window1(); mainWindow.Show(); }
// ---------------------------- AppStartup ---------------------------- /// <summary> /// Initializes the application and opens the /// display window when the program is started.</summary> void AppStartUp(object sender, StartupEventArgs e) { // Create the application window (as defined in Window1.xaml). _appWindow = new Window1(); _appWindow.Show(); }// end:AppStartup()
void AppStartup(object sender, StartupEventArgs args) { Window1 page = new Window1(); page.Show(); }