10 references to DrawMixedCheckBox
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
274
ControlPaint.
DrawMixedCheckBox
(e.GraphicsInternal, layout.CheckBounds, style);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (3)
61
ControlPaint.
DrawMixedCheckBox
(g, glyphBounds, ConvertToButtonState(state));
137
ControlPaint.
DrawMixedCheckBox
(g, glyphBounds, ConvertToButtonState(state));
209
ControlPaint.
DrawMixedCheckBox
(g, glyphBounds, ConvertToButtonState(state));
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1533
ControlPaint.
DrawMixedCheckBox
(graphics, rectangle, state);
1536
ControlPaint.
DrawMixedCheckBox
(graphics, rectangle, state);
1556
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawMixedCheckBox
(null, new Rectangle(1, 2, 3, 4), state));
1570
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawMixedCheckBox
(graphics, new Rectangle(0, 0, width, height), state));
1581
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawMixedCheckBox
(graphics, new Rectangle(0, 0, -3, 4), state));
1592
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawMixedCheckBox
(graphics, new Rectangle(0, 0, 3, -4), state));