private void WeatherUpdateTimer_Tick(object sender, EventArgs e) { if (Properties.Settings.Default.Popups && NoteList.Count > 0) { Weth.DownloadWeather("Chicago"); BuildNotification(Weth.GetCityWeather(), 3600000, Weth.WeatherIcon()); } else { WeatherUpdateTimer.Stop(); } }
private void showWeatherToolStripMenuItem_Click(object sender, EventArgs e) { Weth.DownloadWeather("Chicago"); BuildNotification(Weth.GetCityWeather(), 3600000, Weth.WeatherIcon()); WeatherUpdateTimer.Start(); }