5 references to DrawSelectionFrame
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
150
ControlPaint.
DrawSelectionFrame
(graphics, false, outer, inner, borderColor);
System\Windows\Forms\Design\TabOrder.cs (1)
223
ControlPaint.
DrawSelectionFrame
(graphics, active: false, ctlOuter, ctlInner, backColor);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ControlPaintTests.cs (3)
1836
ControlPaint.
DrawSelectionFrame
(graphics, active, outsideRect, insideRect, backColor);
1839
ControlPaint.
DrawSelectionFrame
(graphics, active, outsideRect, insideRect, backColor);
1847
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawSelectionFrame
(null, active, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), Color.Red));