예제 #1
0
        private void newCity_Click(object sender, EventArgs e)
        {
            WeatherBoard WB = new WeatherBoard();

            WB.Show();
            this.Close();
        }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WeatherBoard WB = new WeatherBoard();

            WB.Show();
            Application.Run();
        }
예제 #3
0
 public API(string city, WeatherBoard weatherBoard)
 {
     SelectedCity     = city;
     WeatherBoardForm = weatherBoard;
 }