Ejemplo n.º 1
0
        private void newCity_Click(object sender, EventArgs e)
        {
            WeatherBoard WB = new WeatherBoard();

            WB.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WeatherBoard WB = new WeatherBoard();

            WB.Show();
            Application.Run();
        }
Ejemplo n.º 3
0
 public API(string city, WeatherBoard weatherBoard)
 {
     SelectedCity     = city;
     WeatherBoardForm = weatherBoard;
 }