protected override void OnClick() { if (_colorPalette.IsColorSelected() == true) { ColorSelection.SetColor(_colorPalette.Red, _colorPalette.Green, _colorPalette.Blue); } }
public ColorCommand() { _colorPalette = new ColorPalette(); ColorSelection.SetColor(_colorPalette.Red, _colorPalette.Green, _colorPalette.Blue); }