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