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; } }
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; } }
private void btnAbout_Click(object sender, EventArgs e) { winAbout about = new winAbout(); about.ShowDialog(); }