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