コード例 #1
0
ファイル: App.xaml.cs プロジェクト: yashbajra/samples
        void AppStartingUp(object sender, StartupEventArgs e)
        {
            Window1 mainWindow = new Window1();

            mainWindow.Show();
        }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: ruo2012/samples-1
 // ---------------------------- 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();
        }