public void Execute() { prevColor = rects.LastRect.Color; rects.LastRect.Color = color; rects.OnChanged(); }
public void Execute() { prevLocation = rect.Location; rect.Location = location; rects.OnChanged(); }