예제 #1
0
        private void Update12HrForecast()
        {
            string errorMsg = WeatherController.GetErrorMsg();

            if (errorMsg != "")
            {
                // Add error dialog
                return;
            }
            Set12HrForecast(currDateTime, WeatherController.GetHourlyForecast(), WeatherController.GetHourlyPrecipitation());
        }
예제 #2
0
        private void Update12HrForecast(object sender, object args)
        {
            string errorMsg = WeatherController.GetErrorMsg();

            if (errorMsg != "")
            {
                // Add error dialog
                return;
            }
            Set12HrForecast(DateTime.Now, WeatherController.GetHourlyForecast(), WeatherController.GetHourlyPrecipitation());
        }