1 type derived from PrintEventArgs
System.Drawing.Common (1)
System\Drawing\Printing\QueryPageSettingsEventArgs.cs (1)
9public class QueryPageSettingsEventArgs : PrintEventArgs
13 instantiations of PrintEventArgs
System.Drawing.Common (1)
System\Drawing\Printing\PrintController.cs (1)
48PrintEventArgs printEvent = new(printAction);
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()));
24 references to PrintEventArgs
System.Drawing (1)
System.Drawing.cs (1)
127[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrintEventArgs))]
System.Drawing.Common (14)
System\Drawing\Printing\DefaultPrintController.cs (2)
22public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 136public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
System\Drawing\Printing\PreviewPrintController.cs (2)
26public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 110public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
System\Drawing\Printing\PrintAction.cs (1)
7/// Specifies the type of action for the <see cref='PrintEventArgs'/>.
System\Drawing\Printing\PrintController.cs (4)
48PrintEventArgs printEvent = new(printAction); 95/// Add initialization code to <see cref="OnStartPrint(PrintDocument, PrintEventArgs)"/> or 216public virtual void OnStartPrint(PrintDocument document, PrintEventArgs e) 224public virtual void OnEndPrint(PrintDocument document, PrintEventArgs e) => _modeHandle?.Close();
System\Drawing\Printing\PrintDocument.cs (2)
149protected internal virtual void OnBeginPrint(PrintEventArgs e) => _beginPrintHandler?.Invoke(this, e); 154protected internal virtual void OnEndPrint(PrintEventArgs e) => _endPrintHandler?.Invoke(this, e);
System\Drawing\Printing\PrintEventArgs.cs (2)
14/// Initializes a new instance of the <see cref='PrintEventArgs'/> class. 21/// Initializes a new instance of the <see cref='PrintEventArgs'/> class.
System\Drawing\Printing\PrintEventHandler.cs (1)
11public delegate void PrintEventHandler(object sender, PrintEventArgs e);
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)