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