11 references to DrawCheckBox
System.Windows.Forms (5)
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (1)
289ControlPaint.DrawCheckBox(e.GraphicsInternal, layout.CheckBounds, style);
System\Windows\Forms\Controls\Buttons\CheckBoxRenderer.cs (3)
65ControlPaint.DrawCheckBox(g, glyphBounds, ConvertToButtonState(state)); 141ControlPaint.DrawCheckBox(g, glyphBounds, ConvertToButtonState(state)); 213ControlPaint.DrawCheckBox(g, glyphBounds, ConvertToButtonState(state));
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (1)
565ControlPaint.DrawCheckBox(e.Graphics, box, state);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
991ControlPaint.DrawCheckBox(graphics, rectangle, state); 994ControlPaint.DrawCheckBox(graphics, rectangle, state); 1014Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.DrawCheckBox(null, new Rectangle(1, 2, 3, 4), state)); 1029Assert.Throws<ArgumentException>(() => ControlPaint.DrawCheckBox(graphics, new Rectangle(0, 0, width, height), state)); 1040Assert.Throws<ArgumentOutOfRangeException>(expectedParamName, () => ControlPaint.DrawCheckBox(graphics, new Rectangle(0, 0, -3, 4), state)); 1051Assert.Throws<ArgumentOutOfRangeException>(expectedParamName, () => ControlPaint.DrawCheckBox(graphics, new Rectangle(0, 0, 3, -4), state));