示例#1
0
 // ---------------------------- 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()
示例#2
0
        void AppStartingUp(object sender, StartupEventArgs e)
        {
            Window1 mainWindow = new Window1();

            mainWindow.Show();
        }
示例#3
0
		void AppStartingUp(object sender, StartupEventArgs e)
		{
			Window1 mainWindow = new Window1();
			mainWindow.InitializeComponent();
			mainWindow.Show();
        }