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(); }
public API(string city, WeatherBoard weatherBoard) { SelectedCity = city; WeatherBoardForm = weatherBoard; }