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)
23Assert.NotNull(controller.OnStartPage(document, printEventArgs)); 37Assert.Throws<NullReferenceException>(() => controller.OnStartPage(null, e)); 45Assert.Throws<NullReferenceException>(() => controller.OnStartPage(document, null)); 56Assert.Throws<NullReferenceException>(() => controller.OnStartPage(document, printEventArgs)); 65Assert.Throws<NullReferenceException>(() => controller.OnStartPage(document, e));