8 references to new
System.Drawing.Common.Tests (8)
System\Drawing\Printing\PreviewPrintControllerTests.cs (5)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, new PageSettings()); 36PrintPageEventArgs e = new(null, Rectangle.Empty, Rectangle.Empty, null); 55PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null); 64PrintPageEventArgs e = new(null, Rectangle.Empty, Rectangle.Empty, null); 73controller.OnEndPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null));
System\Drawing\Printing\PrintControllerTests.cs (3)
22PrintPageEventArgs printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null); 37Assert.Null(controller.OnStartPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null))); 46controller.OnEndPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null));