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()));
10 references to PrintEventArgs
System.Drawing (1)
System.Drawing.cs (1)
127[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrintEventArgs))]
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)