32 references to new
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (2)
235ColumnHeader columnHeader = new(imageKey) 471ColumnHeader columnHeader = new(imageKey)
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\MaskDesignerDialog.cs (3)
125_maskDescriptionHeader = new ColumnHeader(resources.GetString("listViewCannedMasks.Columns")!); 126_dataFormatHeader = new ColumnHeader(resources.GetString("listViewCannedMasks.Columns1")!); 127_validatingTypeHeader = new ColumnHeader(resources.GetString("listViewCannedMasks.Columns2")!);
System\Windows\Forms\Design\StyleEditorForm.cs (3)
166_membersColumnHeader = new ColumnHeader(resources.GetString("columnsAndRowsListView.Columns")); 167_sizeTypeColumnHeader = new ColumnHeader(resources.GetString("columnsAndRowsListView.Columns1")); 168_valueColumnHeader = new ColumnHeader(resources.GetString("columnsAndRowsListView.Columns2"));
System.Windows.Forms.Tests (24)
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (10)
1149listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1150listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1172listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1173listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1191listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1192listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1193listView.Columns.Add(new ColumnHeader("Column 3") { Width = 70 }); 1217listView.Columns.Add(new ColumnHeader("Column 1") { Width = 70 }); 1218listView.Columns.Add(new ColumnHeader("Column 2") { Width = 70 }); 1219listView.Columns.Add(new ColumnHeader("Column 3") { Width = 70 });
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
1156listView.Columns.Add(new ColumnHeader($"Column {i}"));
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObjectTests.cs (1)
820listView.Columns.Add(new ColumnHeader($"Column {i}"));
System\Windows\Forms\ColumnHeaderCollectionTests.cs (7)
358using ColumnHeader header1 = new("text1"); 359using ColumnHeader header2 = new("text2"); 376using ColumnHeader header1 = new("text1") 380using ColumnHeader header2 = new("text2") 384using ColumnHeader header3 = new("text3") 388using ColumnHeader header4 = new("text4") 392using ColumnHeader header5 = new("text5")
System\Windows\Forms\ColumnHeaderConverterTests.cs (4)
56new ColumnHeader("imageKey"), 182public PrivateDefaultConstructor(string imageKey) : base(imageKey) { } 192private PrivateStringConstructor(string imageKey) : base(imageKey) { } 201public PrivateIntConstructor(string imageKey) : base(imageKey) { }
System\Windows\Forms\ColumnHeaderTests.cs (1)
1655public SubColumnHeader(string imageKey) : base(imageKey)