8 references to OnMouseDown
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (8)
4036
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));
4129
cell.
OnMouseDown
(e);
4184
cell.
OnMouseDown
(e);
4211
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.
OnMouseDown
(e));
4227
Assert.Throws<NullReferenceException>(() => cell.
OnMouseDown
(null));
4395
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));
4425
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));
4566
cell.
OnMouseDown
(new DataGridViewCellMouseEventArgs(-1, -1, 0, 0, new MouseEventArgs(MouseButtons.Left, 0, 0, 0, 0)));