13 references to PrintEventArgs
System.Drawing.Common (1)
System\Drawing\Printing\QueryPageSettingsEventArgs.cs (1)
16
public QueryPageSettingsEventArgs(PageSettings pageSettings) :
base
() => _pageSettings = pageSettings;
System.Drawing.Common.Tests (12)
System\Drawing\Printing\PreviewPrintControllerTests.cs (8)
20
controller.OnStartPrint(document, new
PrintEventArgs
());
29
controller.OnEndPrint(document, new
PrintEventArgs
());
53
controller.OnStartPrint(document, new
PrintEventArgs
());
80
yield return new object[] { new
PrintEventArgs
() };
100
controller.OnStartPrint(document, new
PrintEventArgs
());
101
controller.OnStartPrint(document, new
PrintEventArgs
());
104
controller.OnEndPrint(document, new
PrintEventArgs
());
111
Assert.Throws<NullReferenceException>(() => controller.OnStartPrint(null, new
PrintEventArgs
()));
System\Drawing\Printing\PrintControllerTests.cs (4)
20
controller.OnStartPrint(document, new
PrintEventArgs
());
29
controller.OnEndPrint(document, new
PrintEventArgs
());
53
yield return new object[] { new
PrintEventArgs
() };
85
Assert.Throws<NullReferenceException>(() => controller.OnStartPrint(null, new
PrintEventArgs
()));