8 references to DrawMixedCheckBox
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1251
ControlPaint.
DrawMixedCheckBox
(
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1747
=>
DrawMixedCheckBox
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1545
ControlPaint.
DrawMixedCheckBox
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
1548
ControlPaint.
DrawMixedCheckBox
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
1557
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawMixedCheckBox
(null, 1, 2, 3, 4, state));
1571
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawMixedCheckBox
(graphics, 0, 0, width, height, state));
1582
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawMixedCheckBox
(graphics, 0, 0, -3, 4, state));
1593
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawMixedCheckBox
(graphics, 0, 0, 3, -4, state));