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

CancelWindFinder() private method

private CancelWindFinder ( string message ) : void
message string
return void
        private void CancelWindFinder(string message)
        {
            timerWindFinder.Enabled = false;

              //rp !!!!!!!!!!!!
              //  AppContext.PersistentState.PwfEnabled = false;

            //labelControlPwsStatus.Text = message;
            labelControlWindFinder.SetPropertyThreadSafe(() => labelControlWindFinder.Text, message);
            //simpleButtonPwsAction.Text = "Disabled";
            simpleButtonWindFinderAction.SetPropertyThreadSafe(() => simpleButtonWindFinderAction.Text, "Stopped (click to start).");
            //simpleButtonPwsAction.BackColor = Color.LightPink;
            simpleButtonWindFinderAction.SetPropertyThreadSafe(() => simpleButtonWindFinderAction.ForeColor, Color.Red);
            Log.InfoFormat("WindFinder canceled due to '{0}'.", message);
        }
MainForm