コード例 #1
0
        public clockMainViewModel()
        {
            _weatherDataModel.LoadCurrentWeatherData();
            _weatherDataForecastModel.LoadWeatherForecastData();
            SetClockTimer();
            GetSettings();
            SetWeatherRefreshTimer();

            _weatherDataModel.WeatherDataReceivedEvent += _weatherDataModel_WeatherDataReceivedEvent;
            _weatherDataForecastModel.WeatherForecastDataReceivedEvent += _weatherDataForecastModel_WeatherForecastDataReceivedEvent;
        }