private CycleOneButton ( Button button, Command command ) : void | ||
button | Button | |
command | Command | |
return | void |
private void CycleOneButton(Button button, Command command)
{
var isEnabled = command.Enabled;
button.Enabled = !isEnabled;
UpdateButtonEnabled(button, command);
}