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