private void newCity_Click(object sender, EventArgs e) { WeatherBoard WB = new WeatherBoard(); WB.Show(); this.Close(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); WeatherBoard WB = new WeatherBoard(); WB.Show(); Application.Run(); }