12 references to 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()));