public ControlSurface() { _undoList = new Stack <IAction>(); _redoList = new Stack <IAction>(); _smmh = new SurfaceMouseModifyHelper(this); _smnh = new SurfaceMouseNewHelper(this); _surfaceDrawColor = Color.Black; _surfaceFillColor = Color.Black; _surfaceIsFillColor = false; _surfaceHatch = HatchStyle.Percent50; _surfaceIsHatch = false; _surfaceLineWidth = 1f; Source = new ShapeSource(); base.DoubleBuffered = true; }
public RtfSurface() { Source = new ShapeSource(); }