private void ChangeColor(Color color) { Command command = new ChangeColorCommand(changeColorReceiver, color, objectTarget); command.Execute(); InsertCommand(command); }
private void ChangeColor(EnumColor _textColor) { ChangeColorCommand ccc; ccc = new ChangeColorCommand(Editor, _textColor); Commands.Push(ccc); ccc.Execute(); }