24 references to new
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1124
DataGridViewDataErrorEventArgs dgvdee =
new
(
1150
DataGridViewDataErrorEventArgs dgvdee =
new
(
1182
DataGridViewDataErrorEventArgs dgvdee =
new
(
1434
DataGridViewDataErrorEventArgs dgvdee =
new
(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
3101
dgvdee2 =
new
(
3836
DataGridViewDataErrorEventArgs dgvdee =
new
(
3888
DataGridViewDataErrorEventArgs dgvdee =
new
(
3920
DataGridViewDataErrorEventArgs dgvdee =
new
(
9705
dgvdee =
new
(
9737
dgvdee =
new
(
19995
dgvdee =
new
(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1629
DataGridViewDataErrorEventArgs dgvdee =
new
(
1666
DataGridViewDataErrorEventArgs dgvdee =
new
(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
930
DataGridViewDataErrorEventArgs dgvdee =
new
(
967
DataGridViewDataErrorEventArgs dgvdee =
new
(
1002
DataGridViewDataErrorEventArgs dgvdee =
new
(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (6)
22
DataGridViewDataErrorEventArgs e =
new
(exception, columnIndex, rowIndex, context);
34
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewDataErrorEventArgs
(null, -2, 0, DataGridViewDataErrorContexts.Formatting));
40
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new
DataGridViewDataErrorEventArgs
(null, 0, -2, DataGridViewDataErrorContexts.Formatting));
48
DataGridViewDataErrorEventArgs e =
new
(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value };
55
DataGridViewDataErrorEventArgs e =
new
(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false };
62
DataGridViewDataErrorEventArgs e =
new
(null, 1, 2, DataGridViewDataErrorContexts.Formatting);
System\Windows\Forms\DataGridViewElementTests.cs (2)
256
yield return new object[] { new
DataGridViewDataErrorEventArgs
(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) };
270
DataGridViewDataErrorEventArgs eventArgs =
new
(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting);