Automatak.Simulator.UI.LogFileControl.CheckState C# (CSharp) Method

CheckState() private method

private CheckState ( ) : void
return void
        void CheckState()
        {
            if (log == null)
            {
                this.buttonStop.Enabled = false;
                this.buttonBrowse.Enabled = false;
            }
            else
            {
                if (enabled)
                {
                    this.buttonStop.Enabled = true;
                    this.buttonBrowse.Enabled = false;
                }
                else
                {
                    this.buttonStop.Enabled = false;
                    this.buttonBrowse.Enabled = true;
                }
            }
        }