public void ShowCommand(Command cmd) { var btn = Buttons.GetCommandButton (cmd); if (btn != null) btn.Visible = true; }