コード例 #1
0
ファイル: Form1.cs プロジェクト: Craigthomaskey/Clock
 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();
     }
 }