4 overrides of OnStartPrint
System.Drawing.Common (2)
Special\NotSupported.cs (2)
2940
public override void
OnStartPrint
(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3171
public override void
OnStartPrint
(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (1)
System\Drawing\Printing\PrintDocumentTests.cs (1)
285
public override void
OnStartPrint
(PrintDocument document, PrintEventArgs e)
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (1)
33
public override void
OnStartPrint
(PrintDocument document, PrintEventArgs e)
8 references to OnStartPrint
System.Drawing.Common.Tests (6)
System\Drawing\Printing\PrintControllerTests.cs (5)
20
controller.
OnStartPrint
(document, new PrintEventArgs());
62
controller.
OnStartPrint
(document, e);
74
controller.
OnStartPrint
(document, e);
75
controller.
OnStartPrint
(document, e);
85
Assert.Throws<NullReferenceException>(() => controller.
OnStartPrint
(null, new PrintEventArgs()));
System\Drawing\Printing\PrintDocumentTests.cs (1)
287
base.
OnStartPrint
(document, e);
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
35
base.
OnStartPrint
(document, e);
47
_underlyingController.
OnStartPrint
(document, e);