void PaintArrowsView(RectangleF dyrtyRect) { if (drawingUtils == null) { return; } using (var g = new LJD.Graphics()) { drawingUtils.DrawArrowsView( g, arrowsView.Frame.Size.ToSizeF().ToSize(), r => {} //ControlPaint.DrawFocusRectangle(e.Graphics, r) todo ); } }
private void arrowsPanel_Paint(object sender, PaintEventArgs e) { if (drawingUtils == null) { return; } using (var g = new LJD.Graphics(e.Graphics)) { drawingUtils.DrawArrowsView( g, arrowsPanel.ClientSize.ToSize(), r => ControlPaint.DrawFocusRectangle(e.Graphics, r.ToSystemDrawingObject()) ); } }