9 references to new
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.cs (1)
2639DrawListViewItemEventArgs e = new(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DrawListViewItemEventArgsTests.cs (8)
26DrawListViewItemEventArgs e = new(graphics, item, bounds, itemIndex, state); 38Assert.Throws<ArgumentNullException>("graphics", () => new DrawListViewItemEventArgs(null, new ListViewItem(), new Rectangle(1, 2, 3, 4), 0, ListViewItemStates.Default)); 46Assert.Throws<ArgumentNullException>("item", () => new DrawListViewItemEventArgs(graphics, null, new Rectangle(1, 2, 3, 4), 0, ListViewItemStates.Default)); 55DrawListViewItemEventArgs e = new(graphics, new ListViewItem(), new Rectangle(1, 2, 3, 4), -1, ListViewItemStates.Checked) 114DrawListViewItemEventArgs e = new(graphics, item, bounds, -1, state); 124DrawListViewItemEventArgs e = new(graphics, item, bounds, -1, state); 134DrawListViewItemEventArgs e = new(graphics, item, bounds, -1, state); 144DrawListViewItemEventArgs e = new(graphics, item, bounds, -1, state);