示例#1
0
 public void Resize(int width, int height, IMainHistoryCommands history)
 {
     history.AddAndExecuteCommand(new ResizeImageCommand(this, width, height));
 }
示例#2
0
 public void SetText(string text, IMainHistoryCommands history)
 {
     history.AddAndExecuteCommand(new ReplaceTextCommand(_stringRepresentation, text));
 }