1 type derived from PrintEventArgs
System.Drawing.Common (1)
Special\NotSupported.cs (1)
3158public partial class QueryPageSettingsEventArgs : System.Drawing.Printing.PrintEventArgs
12 instantiations of PrintEventArgs
System.Drawing.Common.Tests (12)
System\Drawing\Printing\PreviewPrintControllerTests.cs (8)
20controller.OnStartPrint(document, new PrintEventArgs()); 29controller.OnEndPrint(document, new PrintEventArgs()); 53controller.OnStartPrint(document, new PrintEventArgs()); 80yield return new object[] { new PrintEventArgs() }; 100controller.OnStartPrint(document, new PrintEventArgs()); 101controller.OnStartPrint(document, new PrintEventArgs()); 104controller.OnEndPrint(document, new PrintEventArgs()); 111Assert.Throws<NullReferenceException>(() => controller.OnStartPrint(null, new PrintEventArgs()));
System\Drawing\Printing\PrintControllerTests.cs (4)
20controller.OnStartPrint(document, new PrintEventArgs()); 29controller.OnEndPrint(document, new PrintEventArgs()); 53yield return new object[] { new PrintEventArgs() }; 85Assert.Throws<NullReferenceException>(() => controller.OnStartPrint(null, new PrintEventArgs()));
19 references to PrintEventArgs
System.Drawing (1)
System.Drawing.cs (1)
127[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrintEventArgs))]
System.Drawing.Common (9)
Special\NotSupported.cs (9)
2938public override void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2940public override void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2955public virtual void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2957public virtual void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2982protected internal virtual void OnBeginPrint(System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2983protected internal virtual void OnEndPrint(System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3137public delegate void PrintEventHandler(object sender, System.Drawing.Printing.PrintEventArgs e); 3169public override void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3171public 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 (7)
System\Drawing\Printing\PreviewPrintControllerTests.cs (2)
85public void OnStartPrint_InvokeWithDocument_Success(PrintEventArgs e) 116public void OnEndPrint_InvokeWithoutStarting_Nop(PrintEventArgs e)
System\Drawing\Printing\PrintControllerTests.cs (3)
58public void OnStartPrint_InvokeWithDocument_Success(PrintEventArgs e) 70public void OnStartPrint_InvokeWithDocumentSeveralTimes_Success(PrintEventArgs e) 90public void OnEndPrint_InvokeWithoutStarting_Nop(PrintEventArgs e)
System\Drawing\Printing\PrintDocumentTests.cs (2)
285public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 290public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
33public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 100public override void OnEndPrint(PrintDocument document, PrintEventArgs e)