4 references to new
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
14001DataGridViewColumnStateChangedEventArgs dgvrsce = new(dataGridViewColumn, DataGridViewElementStates.Displayed); 14645DataGridViewColumnStateChangedEventArgs dgvcsce = new(dataGridViewColumn, elementState);
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewColumnStateChangedEventArgsTests.cs (2)
13DataGridViewColumnStateChangedEventArgs e = new(dataGridViewColumn, DataGridViewElementStates.Displayed); 21Assert.Throws<ArgumentNullException>(() => new DataGridViewColumnStateChangedEventArgs(null, DataGridViewElementStates.Displayed));