3 references to PaintErrorIcon
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewCellTests.cs (3)
6055
cell.
PaintErrorIcon
(graphics, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 20, 19), errorText);
6065
cell.
PaintErrorIcon
(graphics, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 20, 19), errorText);
6081
Assert.Throws<ArgumentNullException>("graphics", () => cell.
PaintErrorIcon
(null, new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, cellValueBoundsWidth, cellValueBoundsHeight), errorText));