8 references to new
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
16010
DataGridViewColumnDividerDoubleClickEventArgs dgvcddce =
new
(columnIndex, hme);
16080
DataGridViewColumnDividerDoubleClickEventArgs dgvcddce =
new
(-1, hme);
System.Windows.Forms.Tests (6)
System\Windows\Forms\DataGridViewColumnDividerDoubleClickEventArgsTests.cs (4)
22
DataGridViewColumnDividerDoubleClickEventArgs e =
new
(columnIndex, mouseE);
35
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewColumnDividerDoubleClickEventArgs
(-2, null));
36
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewColumnDividerDoubleClickEventArgs
(-2, new HandledMouseEventArgs(MouseButtons.Left, 1, 2, 3, 4, true)));
42
Assert.Throws<ArgumentNullException>("e", () => new
DataGridViewColumnDividerDoubleClickEventArgs
(1, null));
System\Windows\Forms\DataGridViewTests.cs (2)
3797
DataGridViewColumnDividerDoubleClickEventArgs args =
new
(0, new(MouseButtons.Left, 2, 0, 0, 0));
3802
args =
new
(1, new(MouseButtons.Left, 2, 0, 0, 0));