41 references to new
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
17: base(new DataGridViewButtonCell())
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (1)
18: base(new DataGridViewCheckBoxCell(threeState))
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
45: this(cellTemplate: null)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (1)
18: base(new DataGridViewComboBoxCell())
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (1)
23: base(new DataGridViewImageCell(valuesAreIcons))
System\Windows\Forms\Controls\DataGridView\DataGridViewLinkColumn.cs (1)
18: base(new DataGridViewLinkCell())
System\Windows\Forms\Controls\DataGridView\DataGridViewTextBoxColumn.cs (1)
14public DataGridViewTextBoxColumn() : base(new DataGridViewTextBoxCell())
System.Windows.Forms.Tests (34)
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (33)
40using DataGridViewColumn column1 = new(new SubDataGridViewCell()); 68using DataGridViewColumn column1 = new(new SubDataGridViewCell()); 69using DataGridViewColumn column2 = new(new SubDataGridViewCell()); 112using DataGridViewColumn column1 = new(new SubDataGridViewCell()) 116using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 182using DataGridViewColumn column1 = new(new SubDataGridViewCell()) 188using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 220using DataGridViewColumn column1 = new(new SubDataGridViewCell()) 224using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 258using DataGridViewColumn column1 = new(new SubDataGridViewCell()) 262using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 266using DataGridViewColumn column3 = new(new SubDataGridViewCell()) 311using DataGridViewColumn column = new(new SubDataGridViewCell()) 341DataGridViewColumn column = new(new SubDataGridViewCell()); 355using DataGridViewColumn column1 = new(new SubDataGridViewCell()); 356using DataGridViewColumn column2 = new(new SubDataGridViewCell()); 363DataGridViewColumn column = new(new SubDataGridViewCell()); 378using DataGridViewColumn column1 = new(new SubDataGridViewCell()); 379using DataGridViewColumn column2 = new(new SubDataGridViewCell()); 397using DataGridViewColumn column = new(new SubDataGridViewCell()) 415using DataGridViewColumn column = new(new SubDataGridViewCell()) 438using DataGridViewColumn column = new(new SubDataGridViewCell()) 455using DataGridViewColumn column = new(new SubDataGridViewCell()) 467using DataGridViewColumn column1 = new(new SubDataGridViewCell()); 469using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 480using DataGridViewColumn column1 = new(new SubDataGridViewCell()); 482using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 493using DataGridViewColumn column1 = new(new SubDataGridViewCell()) 497using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 504using DataGridViewColumn column3 = new(new SubDataGridViewCell()) 516using DataGridViewColumn column1 = new(new SubDataGridViewCell()) 521using DataGridViewColumn column2 = new(new SubDataGridViewCell()) 528using DataGridViewColumn column3 = new(new SubDataGridViewCell())
System\Windows\Forms\DataGridViewColumnTests.cs (1)
1819public SubDataGridViewColumn(DataGridViewCell cellTemplate) : base(cellTemplate)