コード例 #1
0
        public DrawCanvas(Image image, MacroCommand history)
        {
            g = Graphics.FromImage(image);

            this.history = history;

            history.Append(new ColorCommand(this, color));
        }