BuildTools.BuildTools.Disable C# (CSharp) Method

Disable() private method

Disable the run buttons so they can't be pressed while work is being done.
private Disable ( ) : void
return void
        private void Disable()
        {
            if (InvokeRequired) {
                Invoke(_disableDelegate);
            } else {
                updateBT.Enabled = false;
                runBT.Enabled = false;
                versionBox.Enabled = false;
            }
        }