public override void Load() { new Task(() => { weather = new CurrentWeather(Settings.WeatherHome); weather.DataUpdated += weather_DataUpdated; weather.LoadCachedData(); weather.UpdateData(); }).Start(); }
private void updateTimer_Tick(object sender, EventArgs e) { weather.UpdateData(); }