3 references to PaintBorder
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewCellTests.cs (3)
6029
cell.
PaintBorder
(graphics, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), new DataGridViewCellStyle(), new DataGridViewAdvancedBorderStyle());
6036
Assert.Throws<ArgumentNullException>("graphics", () => cell.
PaintBorder
(null, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), new DataGridViewCellStyle(), new DataGridViewAdvancedBorderStyle()));
6045
Assert.Throws<ArgumentNullException>("cellStyle", () => cell.
PaintBorder
(graphics, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 3, 4), null, new DataGridViewAdvancedBorderStyle()));