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