4 overrides of OnStartPage
System.Drawing.Common (2)
System\Drawing\Printing\DefaultPrintController.cs (1)
71
public override Graphics
OnStartPage
(PrintDocument document, PrintPageEventArgs e)
System\Drawing\Printing\PreviewPrintController.cs (1)
43
public override Graphics
OnStartPage
(PrintDocument document, PrintPageEventArgs e)
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PrintDocumentTests.cs (1)
279
public override Graphics
OnStartPage
(PrintDocument document, PrintPageEventArgs e)
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (1)
66
public override Graphics?
OnStartPage
(PrintDocument document, PrintPageEventArgs e)
11 references to OnStartPage
System.Drawing.Common (6)
System\Drawing\Printing\DefaultPrintController.cs (1)
76
base.
OnStartPage
(document, e);
System\Drawing\Printing\PreviewPrintController.cs (1)
45
base.
OnStartPage
(document, e);
System\Drawing\Printing\PrintController.cs (4)
96
/// <see cref="
OnStartPage
(PrintDocument, PrintPageEventArgs)"/> instead.
111
Graphics? graphics =
OnStartPage
(document, pageEvent);
165
Graphics? graphics =
OnStartPage
(document, pageEvent);
172
Graphics? graphics =
OnStartPage
(document, pageEvent);
System.Drawing.Common.Tests (3)
System\Drawing\Printing\PrintControllerTests.cs (3)
23
Assert.Null(controller.
OnStartPage
(document, printEventArgs));
37
Assert.Null(controller.
OnStartPage
(document, new PrintPageEventArgs(null, Rectangle.Empty, Rectangle.Empty, null)));
38
Assert.Null(controller.
OnStartPage
(null, null));
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
68
base.
OnStartPage
(document, e);
72
Graphics? result = _underlyingController.
OnStartPage
(document, e);