5 references to new
System.Windows.Forms (1)
System\Windows\Forms\Rendering\DrawItemEventArgs.cs (1)
32: this(graphics, font, rect, index, state, SystemColors.WindowText, SystemColors.Window)
System.Windows.Forms.Tests (4)
CheckedListBoxTests.cs (2)
421DrawItemEventArgs e = new(graphics, font, rect, index, state, foreColor, backColor); 443DrawItemEventArgs e = new(graphics, font, rect, index, state, foreColor, backColor);
System\Windows\Forms\DrawItemEventArgsTests.cs (2)
52DrawItemEventArgs e = new(graphics, font, rect, index, state, foreColor, backColor); 66Assert.Throws<ArgumentNullException>("graphics", () => new DrawItemEventArgs(null, SystemFonts.DefaultFont, new Rectangle(1, 2, 3, 4), 0, DrawItemState.None, Color.Red, Color.Blue));