Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 public RtfSurface()
 {
     Source = new ShapeSource();
 }