示例#1
0
        void AppStartingUp(object sender, StartupEventArgs e)
        {
            Window1 mainWindow = new Window1();

            mainWindow.Show();
        }
示例#2
0
 // ---------------------------- 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()
示例#3
0
        void AppStartup(object sender, StartupEventArgs args)
        {
            Window1 page = new Window1();

            page.Show();
        }