IRectangleShape IOverlayShapeFactory.GetPreviewRectangle() { var o = new WFRectangleShape(this); o.ThePen = Pens.Black; PreviewShapes.Add(o); return(o); }
IRectangleShape IOverlayShapeFactory.GetSelectionRect() { var o = new WFRectangleShape(this); o.ThePen = Pens.Blue; o.TheFill = PensAndBrushes.SelectionRectFill; PreviewShapes.Add(o); return(o); }