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

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

            o.ThePen  = Pens.Blue;
            o.TheFill = PensAndBrushes.SelectionRectFill;
            PreviewShapes.Add(o);
            return(o);
        }