예제 #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
        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();
        }