private void EllipseButton_Click(object sender, EventArgs e) { Command addShape = new AddShapeCommand(shapeList, new BaseShape("ellipse", 50, 50, 50, 50, EllipseStrategy.Instance())); history.Add(addShape); Invalidate(); }
private void EllipseButton_Click(object sender, EventArgs e) { Command addShape = new AddShapeCommand(shapeList, new BaseShape("ellipse", 50, 50, 50, 50, EllipseStrategy.Instance())); history.Add(addShape); Invalidate(); }