7 references to DrawScrollButton
System.Windows.Forms (1)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
1846
=>
DrawScrollButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, button, state);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlPaintTests.cs (6)
1763
ControlPaint.
DrawScrollButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, button, state);
1766
ControlPaint.
DrawScrollButton
(graphics, rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, button, state);
1775
Assert.Throws<ArgumentNullException>("graphics", () => ControlPaint.
DrawScrollButton
(null, 1, 2, 3, 4, ScrollButton.Up, state));
1789
Assert.Throws<ArgumentException>(() => ControlPaint.
DrawScrollButton
(graphics, 0, 0, width, height, ScrollButton.Up, state));
1800
Assert.Throws<ArgumentOutOfRangeException>("width", () => ControlPaint.
DrawScrollButton
(graphics, 0, 0, -3, 4, ScrollButton.Up, state));
1811
Assert.Throws<ArgumentOutOfRangeException>("height", () => ControlPaint.
DrawScrollButton
(graphics, 0, 0, 3, -4, ScrollButton.Up, state));