public DrawCanvas(Image image, MacroCommand history) { g = Graphics.FromImage(image); this.history = history; history.Append(new ColorCommand(this, color)); }