10 references to DrawRadioButton
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (1)
215
ControlPaint.
DrawRadioButton
(e.GraphicsInternal, check, style);
System\Windows\Forms\Controls\Buttons\RadioButtonRenderer.cs (3)
83
ControlPaint.
DrawRadioButton
(graphics, glyphBounds, ConvertToButtonState(state));
143
ControlPaint.
DrawRadioButton
(g, glyphBounds, ConvertToButtonState(state));
236
ControlPaint.
DrawRadioButton
(g, glyphBounds, ConvertToButtonState(state));
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1613
ControlPaint.
DrawRadioButton
(graphics, rectangle, state);
1616
ControlPaint.
DrawRadioButton
(graphics, rectangle, state);
1636
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawRadioButton
(null, new Rectangle(1, 2, 3, 4), state));
1650
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawRadioButton
(graphics, new Rectangle(0, 0, width, height), state));
1661
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawRadioButton
(graphics, new Rectangle(0, 0, -3, 4), state));
1672
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawRadioButton
(graphics, new Rectangle(0, 0, 3, -4), state));