6 references to DrawComboButton
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1072
ControlPaint.
DrawComboButton
(graphics, rectangle, state);
1075
ControlPaint.
DrawComboButton
(graphics, rectangle, state);
1095
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawComboButton
(null, new Rectangle(1, 2, 3, 4), state));
1109
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawComboButton
(graphics, new Rectangle(0, 0, width, height), state));
1120
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawComboButton
(graphics, new Rectangle(0, 0, -3, 4), state));
1131
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawComboButton
(graphics, new Rectangle(0, 0, 3, -4), state));