12 instantiations of PrintEventArgs
System.Drawing.Common.Tests (12)
System\Drawing\Printing\PreviewPrintControllerTests.cs (8)
20
controller.OnStartPrint(document, new
PrintEventArgs
());
29
controller.OnEndPrint(document, new
PrintEventArgs
());
53
controller.OnStartPrint(document, new
PrintEventArgs
());
80
yield return new object[] { new
PrintEventArgs
() };
100
controller.OnStartPrint(document, new
PrintEventArgs
());
101
controller.OnStartPrint(document, new
PrintEventArgs
());
104
controller.OnEndPrint(document, new
PrintEventArgs
());
111
Assert.Throws<NullReferenceException>(() => controller.OnStartPrint(null, new
PrintEventArgs
()));
System\Drawing\Printing\PrintControllerTests.cs (4)
20
controller.OnStartPrint(document, new
PrintEventArgs
());
29
controller.OnEndPrint(document, new
PrintEventArgs
());
53
yield return new object[] { new
PrintEventArgs
() };
85
Assert.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)
85
public void OnStartPrint_InvokeWithDocument_Success(
PrintEventArgs
e)
116
public void OnEndPrint_InvokeWithoutStarting_Nop(
PrintEventArgs
e)
System\Drawing\Printing\PrintControllerTests.cs (3)
58
public void OnStartPrint_InvokeWithDocument_Success(
PrintEventArgs
e)
70
public void OnStartPrint_InvokeWithDocumentSeveralTimes_Success(
PrintEventArgs
e)
90
public void OnEndPrint_InvokeWithoutStarting_Nop(
PrintEventArgs
e)
System\Drawing\Printing\PrintDocumentTests.cs (2)
285
public override void OnStartPrint(PrintDocument document,
PrintEventArgs
e)
290
public override void OnEndPrint(PrintDocument document,
PrintEventArgs
e)
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (2)
33
public override void OnStartPrint(PrintDocument document,
PrintEventArgs
e)
100
public override void OnEndPrint(PrintDocument document,
PrintEventArgs
e)