ZForge.Motion.Controls.CameraView.UpdateUIWithFrame C# (CSharp) Method

UpdateUIWithFrame() public method

public UpdateUIWithFrame ( ) : void
return void
        public void UpdateUIWithFrame()
        {
            if (this.mHasFrame != this.toolStripButtonSnag.Enabled)
            {
                this.toolStripButtonSnag.Enabled = this.mHasFrame;
            }
            if (this.mHasFrame != this.toolStripButtonRegionEdit.Enabled)
            {
                this.toolStripButtonRegionEdit.Enabled = this.mHasFrame;
                if (this.toolStripButtonRegionEdit.Enabled == false)
                {
                    this.toolStripButtonRegionEdit.Checked = false;
                }
            }
            if (this.mHasFrame != this.toolStripButtonPause.Enabled)
            {
                if (this.toolStripButtonRegionEdit.Checked == false)
                {
                    this.toolStripButtonPause.Enabled = this.mHasFrame;
                    if (this.toolStripButtonPause.Enabled == false)
                    {
                        this.toolStripButtonPause.Checked = false;
                    }
                }
            }
        }