Atmo.UI.DevEx.MainForm.StartWeather C# (CSharp) Method

StartWeather() private method

private StartWeather ( ) : void
return void
        private void StartWeather()
        {
            AppContext.PersistentState.WeatherEnabled = true;

            pom_inverval_weather = 60 * 60;

            timerWU.Enabled = true;

            timeActual = DateTime.UtcNow;
            timeTemp = timeActual;

            //labelControlPwsStatus.Text = "Running";
            labelControlPwsStatus.SetPropertyThreadSafe(() => labelControlPwsStatus.Text, RunningText + ", but no server answer");
            //simpleButtonPwsAction.Text = "Running";
            simpleButtonPwsAction.SetPropertyThreadSafe(() => simpleButtonPwsAction.Text, RunningText + " (click to stop).");
            //simpleButtonPwsAction.BackColor = Color.LightGreen;
            simpleButtonPwsAction.SetPropertyThreadSafe(() => simpleButtonPwsAction.ForeColor, ForeColor);
        }
MainForm