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