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