8 references to new
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
11795
DataGridViewCellFormattingEventArgs dgvcfe =
new
(
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataGridViewCellFormattingEventArgsTests.cs (5)
22
DataGridViewCellFormattingEventArgs e =
new
(columnIndex, rowIndex, value, desiredType, cellStyle);
34
Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new
DataGridViewCellFormattingEventArgs
(-2, 0, "value", typeof(string), null));
40
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new
DataGridViewCellFormattingEventArgs
(0, -2, "value", typeof(string), null));
53
DataGridViewCellFormattingEventArgs e =
new
(1, 2, "value", typeof(string), new DataGridViewCellStyle())
65
DataGridViewCellFormattingEventArgs e =
new
(1, 2, "value", typeof(string), new DataGridViewCellStyle())
System\Windows\Forms\DataGridViewTests.cs (2)
3690
DataGridViewCellFormattingEventArgs cellFormattingEventArgs =
new
(0, 0, dataGridView.Rows[0].Cells[0].Value, dataGridView.Rows[0].Cells[0].ValueType, dataGridView.Rows[0].Cells[0].InheritedStyle);
3695
cellFormattingEventArgs =
new
(0, 1, dataGridView.Rows[1].Cells[0].Value, dataGridView.Rows[1].Cells[0].ValueType, dataGridView.Rows[1].Cells[0].InheritedStyle);