8 references to OnMouseDown
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (8)
4039
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));
4132
cell.
OnMouseDown
(e);
4187
cell.
OnMouseDown
(e);
4214
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.
OnMouseDown
(e));
4230
Assert.Throws<NullReferenceException>(() => cell.
OnMouseDown
(null));
4398
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));
4428
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));
4569
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));