7 references to DrawRadioButton
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1764
=>
DrawRadioButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1625
ControlPaint.
DrawRadioButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
1628
ControlPaint.
DrawRadioButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
1637
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawRadioButton
(null, 1, 2, 3, 4, state));
1651
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawRadioButton
(graphics, 0, 0, width, height, state));
1662
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawRadioButton
(graphics, 0, 0, -3, 4, state));
1673
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawRadioButton
(graphics, 0, 0, 3, -4, state));