コード例 #1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            winCurrently currently = new winCurrently();
            win3Day      threeDay  = new win3Day();
            winAbout     about     = new winAbout();

            switch (Draconine.Properties.Settings.Default.ViewSettings)
            {
            case "current":
                MainWindow = currently;
                currently.Show();
                break;

            case "three":
                MainWindow = threeDay;
                threeDay.Show();
                break;

            /*case "eight":
             * eightDay.Show();
             * break;*/
            default:
                about.Show();
                break;
            }
        }
コード例 #2
0
ファイル: clsStartup.cs プロジェクト: kruug/Draconine
        private void Application_Startup()
        {
            winCurrently currently = new winCurrently();
            win3Day      threeDay  = new win3Day();
            winAbout     about     = new winAbout();

            switch (Properties.Settings.Default.ViewSettings)
            {
            case "current":
                currently.Show();
                break;

            case "three":
                threeDay.Show();
                break;

            /*case "eight":
             * eightDay.Show();
             * break;*/
            default:
                about.Show();
                break;
            }
        }
コード例 #3
0
        private void btnAbout_Click(object sender, EventArgs e)
        {
            winAbout about = new winAbout();

            about.ShowDialog();
        }