Base:
method
OnStartPage
System.Drawing.Printing.PrintController.OnStartPage(System.Drawing.Printing.PrintDocument, System.Drawing.Printing.PrintPageEventArgs)
5 references to OnStartPage
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PreviewPrintControllerTests.cs (5)
23
Assert.NotNull(controller.
OnStartPage
(document, printEventArgs));
37
Assert.Throws<NullReferenceException>(() => controller.
OnStartPage
(null, e));
45
Assert.Throws<NullReferenceException>(() => controller.
OnStartPage
(document, null));
56
Assert.Throws<NullReferenceException>(() => controller.
OnStartPage
(document, printEventArgs));
65
Assert.Throws<NullReferenceException>(() => controller.
OnStartPage
(document, e));