8 instantiations of PrintPageEventArgs
System.Drawing.Common.Tests (8)
System\Drawing\Printing\PreviewPrintControllerTests.cs (5)
22
PrintPageEventArgs printEventArgs =
new
(null, Rectangle.Empty, Rectangle.Empty, new PageSettings());
36
PrintPageEventArgs e =
new
(null, Rectangle.Empty, Rectangle.Empty, null);
55
PrintPageEventArgs printEventArgs =
new
(null, Rectangle.Empty, Rectangle.Empty, null);
64
PrintPageEventArgs e =
new
(null, Rectangle.Empty, Rectangle.Empty, null);
73
controller.OnEndPage(document, new
PrintPageEventArgs
(null, Rectangle.Empty, Rectangle.Empty, null));
System\Drawing\Printing\PrintControllerTests.cs (3)
22
PrintPageEventArgs printEventArgs =
new
(null, Rectangle.Empty, Rectangle.Empty, null);
37
Assert.Null(controller.OnStartPage(document, new
PrintPageEventArgs
(null, Rectangle.Empty, Rectangle.Empty, null)));
46
controller.OnEndPage(document, new
PrintPageEventArgs
(null, Rectangle.Empty, Rectangle.Empty, null));
20 references to PrintPageEventArgs
Accessibility_Core_App (1)
PrintingControls.cs (1)
19
private void printDocument1_PrintPage(object sender, System.Drawing.Printing.
PrintPageEventArgs
e)
System.Drawing (1)
System.Drawing.cs (1)
132
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.
PrintPageEventArgs
))]
System.Drawing.Common (8)
Special\NotSupported.cs (8)
2937
public override void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.
PrintPageEventArgs
e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2939
public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.
PrintPageEventArgs
e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2954
public virtual void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.
PrintPageEventArgs
e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2956
public virtual System.Drawing.Graphics? OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.
PrintPageEventArgs
e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2984
protected internal virtual void OnPrintPage(System.Drawing.Printing.
PrintPageEventArgs
e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3149
public delegate void PrintPageEventHandler(object sender, System.Drawing.Printing.
PrintPageEventArgs
e);
3168
public override void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.
PrintPageEventArgs
e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3170
public 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 (7)
System\Drawing\Printing\PreviewPrintControllerTests.cs (4)
22
PrintPageEventArgs
printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, new PageSettings());
36
PrintPageEventArgs
e = new(null, Rectangle.Empty, Rectangle.Empty, null);
55
PrintPageEventArgs
printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null);
64
PrintPageEventArgs
e = new(null, Rectangle.Empty, Rectangle.Empty, null);
System\Drawing\Printing\PrintControllerTests.cs (1)
22
PrintPageEventArgs
printEventArgs = new(null, Rectangle.Empty, Rectangle.Empty, null);
System\Drawing\Printing\PrintDocumentTests.cs (2)
279
public override Graphics OnStartPage(PrintDocument document,
PrintPageEventArgs
e)
295
public override void OnEndPage(PrintDocument document,
PrintPageEventArgs
e)
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
66
public override Graphics? OnStartPage(PrintDocument document,
PrintPageEventArgs
e)
84
public override void OnEndPage(PrintDocument document,
PrintPageEventArgs
e)
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
15
/// Please keep this class consistent with <see cref="
PrintPageEventArgs
"/>.