8 references to new
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5998DrawListViewColumnHeaderEventArgs e = new(
System.Windows.Forms.Tests (7)
System\Windows\Forms\DrawListViewColumnHeaderEventArgsTests.cs (7)
25DrawListViewColumnHeaderEventArgs e = new(graphics, bounds, columnIndex, header, state, foreColor, backColor, font); 40Assert.Throws<ArgumentNullException>("graphics", () => new DrawListViewColumnHeaderEventArgs(null, new Rectangle(1, 2, 3, 4), 0, new ColumnHeader(), ListViewItemStates.Default, Color.Red, Color.Blue, SystemFonts.DefaultFont)); 49DrawListViewColumnHeaderEventArgs e = new(graphics, new Rectangle(1, 2, 3, 4), -1, new ColumnHeader(), ListViewItemStates.Checked, Color.Red, Color.Blue, SystemFonts.DefaultFont) 77DrawListViewColumnHeaderEventArgs e = new(graphics, bounds, -1, header, state, foreColor, backColor, font); 90DrawListViewColumnHeaderEventArgs e = new(graphics, new Rectangle(1, 2, 3, 4), -1, header, ListViewItemStates.Checked, Color.Red, Color.Blue, SystemFonts.DefaultFont); 99DrawListViewColumnHeaderEventArgs e = new(graphics, new Rectangle(1, 2, 3, 4), -1, new ColumnHeader(), ListViewItemStates.Checked, Color.Red, Color.Blue, SystemFonts.DefaultFont); 115DrawListViewColumnHeaderEventArgs e = new(graphics, bounds, columnIndex, null, state, foreColor, backColor, font);