Xwt.Dialog.DisableCommand C# (CSharp) Method

DisableCommand() public method

public DisableCommand ( Xwt.Command cmd ) : void
cmd Xwt.Command
return void
        public void DisableCommand(Command cmd)
        {
            var btn = Buttons.GetCommandButton (cmd);
            if (btn != null)
                btn.Sensitive = false;
        }