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

AutoStartWindFinder() private method

private AutoStartWindFinder ( ) : void
return void
        private void AutoStartWindFinder()
        {
            var stationName = AppContext.PersistentState.StationNameWF;
            var stationPassword = AppContext.PersistentState.StationPasswordWF;
            bool isValid = !String.IsNullOrEmpty(stationName) &&
                !String.IsNullOrEmpty(stationPassword);

            //MessageBox.Show(stationName + stationPassword);

            if (timerWindFinder.Enabled != isValid)
            {
                if(isValid) {
                    StartWindFinder();
                    this.pom_inverval = 60 * 60;
                    timerWindFinder_Tick(null, null);
                }
            }
        }
MainForm