4 overrides of OnStartPage
System.Drawing.Common (2)
Special\NotSupported.cs (2)
2939public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3170public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PrintDocumentTests.cs (1)
279public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e)
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (1)
66public override Graphics? OnStartPage(PrintDocument document, PrintPageEventArgs e)
5 references to OnStartPage
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PrintControllerTests.cs (3)
23Assert.Null(controller.OnStartPage(document, printEventArgs)); 37Assert.Null(controller.OnStartPage(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null))); 38Assert.Null(controller.OnStartPage(null, null));
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
68base.OnStartPage(document, e); 72Graphics? result = _underlyingController.OnStartPage(document, e);