示例#1
0
        IRectangleShape IOverlayShapeFactory.GetPreviewEllipse()
        {
            var o = new WFEllipseShape(this);

            o.ThePen = Pens.Black;
            PreviewShapes.Add(o);
            return(o);
        }
示例#2
0
        IRectangleShape IOverlayShapeFactory.GetCPCircle()
        {
            var o = new WFEllipseShape(this);

            o.SetPosition(0, 0, 10, 10);
            o.ThePen  = Pens.Green;
            o.TheFill = Brushes.Gray;
            PreviewShapes.Add(o);
            return(o);
        }
示例#3
0
 IRectangleShape IOverlayShapeFactory.GetPreviewEllipse()
 {
     var o = new WFEllipseShape(this);
     o.ThePen = Pens.Black;
     PreviewShapes.Add(o);
     return o;
 }
示例#4
0
 IRectangleShape IOverlayShapeFactory.GetCPCircle()
 {
     var o = new WFEllipseShape(this);
     o.SetPosition(0, 0, 10, 10);
     o.ThePen = Pens.Green;
     o.TheFill = Brushes.Gray;
     PreviewShapes.Add(o);
     return o;
 }