7 references to DrawComboButton
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1256
=>
DrawComboButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1084
ControlPaint.
DrawComboButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
1087
ControlPaint.
DrawComboButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, state);
1096
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawComboButton
(null, 1, 2, 3, 4, state));
1110
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawComboButton
(graphics, 0, 0, width, height, state));
1121
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawComboButton
(graphics, 0, 0, -3, 4, state));
1132
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawComboButton
(graphics, 0, 0, 3, -4, state));