37 instantiations of PrintDocument
Accessibility_Core_App (1)
PrintingControls.Designer.cs (1)
33this.printDocument1 = new System.Drawing.Printing.PrintDocument();
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
61new System.Drawing.Printing.PrintDocument(),
System.Drawing.Common.Tests (28)
System\Drawing\Printing\PreviewPrintControllerTests.cs (8)
18using PrintDocument document = new(); 43using PrintDocument document = new(); 51using PrintDocument document = new(); 62using PrintDocument document = new(); 71using PrintDocument document = new(); 87using PrintDocument document = new(); 98using PrintDocument document = new(); 118using PrintDocument document = new();
System\Drawing\Printing\PrintControllerTests.cs (6)
18using PrintDocument document = new(); 35using PrintDocument document = new(); 44using PrintDocument document = new(); 60using PrintDocument document = new(); 72using PrintDocument document = new(); 92using PrintDocument document = new();
System\Drawing\Printing\PrintDocumentTests.cs (14)
41using PrintDocument document = new(); 50using PrintDocument document = new(); 61using PrintDocument document = new(); 71using PrintDocument document = new(); 79using PrintDocument document = new(); 89using PrintDocument document = new(); 97using PrintDocument document = new(); 109using PrintDocument document = new(); 133using PrintDocument document = new(); 151using PrintDocument document = new(); 173using (PrintDocument document = new()) 194using PrintDocument document = new(); 212using PrintDocument document = new(); 227using PrintDocument document = new();
System.Windows.Forms.Tests (7)
System\Windows\Forms\PageSetupDialogTests.cs (7)
111yield return new object[] { new PrintDocument() }; 138Document = new PrintDocument() 141using PrintDocument value = new(); 157using PrintDocument original = new(); 290Document = new PrintDocument(), 331Document = new PrintDocument(), 413Document = new PrintDocument(),
83 references to PrintDocument
Accessibility_Core_App (1)
PrintingControls.Designer.cs (1)
182private System.Drawing.Printing.PrintDocument printDocument1;
System.Drawing (1)
System.Drawing.cs (1)
121[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Printing.PrintDocument))]
System.Drawing.Common (32)
System\Drawing\Printing\DefaultPrintController.cs (4)
22public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 71public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) 112public override void OnEndPage(PrintDocument document, PrintPageEventArgs e) 136public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
System\Drawing\Printing\PreviewPrintController.cs (4)
26public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 43public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) 103public override void OnEndPage(PrintDocument document, PrintPageEventArgs e) 110public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
System\Drawing\Printing\PrintController.cs (9)
25public virtual Graphics? OnStartPage(PrintDocument document, PrintPageEventArgs e) => null; 30public virtual void OnEndPage(PrintDocument document, PrintPageEventArgs e) 40internal void Print(PrintDocument document) 95/// Add initialization code to <see cref="OnStartPrint(PrintDocument, PrintEventArgs)"/> or 96/// <see cref="OnStartPage(PrintDocument, PrintPageEventArgs)"/> instead. 99private bool PrintLoop(PrintDocument document) 135private bool PrintLoopOptimized(PrintDocument document) 216public virtual void OnStartPrint(PrintDocument document, PrintEventArgs e) 224public virtual void OnEndPrint(PrintDocument document, PrintEventArgs e) => _modeHandle?.Close();
System\Drawing\Printing\PrintDocument.cs (1)
30/// Initializes a new instance of the <see cref='PrintDocument'/> class.
System\Drawing\Printing\PrintEventArgs.cs (2)
9/// Provides data for the <see cref='PrintDocument.BeginPrint'/> and <see cref='PrintDocument.EndPrint'/> events.
System\Drawing\Printing\PrintEventHandler.cs (4)
7/// Represents the method that will handle the <see cref='PrintDocument.BeginPrint'/>, 8/// <see cref='PrintDocument.EndPrint'/>, or <see cref='PrintDocument.QueryPageSettings'/> 9/// event of a <see cref='PrintDocument'/>.
System\Drawing\Printing\PrintPageEventArgs.cs (1)
7/// Provides data for the <see cref='PrintDocument.PrintPage'/> event.
System\Drawing\Printing\PrintPageEventHandler.cs (2)
7/// Represents the method that will handle the <see cref='PrintDocument.PrintPage'/> event of a <see cref='PrintDocument'/>.
System\Drawing\Printing\PrintPreviewGraphics.cs (2)
14private readonly PrintDocument _printDocument; 16public PrintPreviewGraphics(PrintDocument document, PrintPageEventArgs e)
System\Drawing\Printing\QueryPageSettingsEventArgs.cs (1)
7/// Provides data for the <see cref='PrintDocument.QueryPageSettings'/> event.
System\Drawing\Printing\QueryPageSettingsEventHandler.cs (2)
7/// Represents the method that will handle the <see cref='PrintDocument.QueryPageSettings'/> event of a 8/// <see cref='PrintDocument'/>.
System.Drawing.Common.Tests (32)
System\Drawing\Printing\PreviewPrintControllerTests.cs (8)
18using PrintDocument document = new(); 43using PrintDocument document = new(); 51using PrintDocument document = new(); 62using PrintDocument document = new(); 71using PrintDocument document = new(); 87using PrintDocument document = new(); 98using PrintDocument document = new(); 118using PrintDocument document = new();
System\Drawing\Printing\PrintControllerTests.cs (6)
18using PrintDocument document = new(); 35using PrintDocument document = new(); 44using PrintDocument document = new(); 60using PrintDocument document = new(); 72using PrintDocument document = new(); 92using PrintDocument document = new();
System\Drawing\Printing\PrintDocumentTests.cs (18)
41using PrintDocument document = new(); 50using PrintDocument document = new(); 61using PrintDocument document = new(); 71using PrintDocument document = new(); 79using PrintDocument document = new(); 89using PrintDocument document = new(); 97using PrintDocument document = new(); 109using PrintDocument document = new(); 133using PrintDocument document = new(); 151using PrintDocument document = new(); 173using (PrintDocument document = new()) 194using PrintDocument document = new(); 212using PrintDocument document = new(); 227using PrintDocument document = new(); 279public override Graphics OnStartPage(PrintDocument document, PrintPageEventArgs e) 285public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 290public override void OnEndPrint(PrintDocument document, PrintEventArgs e) 295public override void OnEndPage(PrintDocument document, PrintPageEventArgs e)
System.Windows.Forms (14)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
20private PrintDocument? _printDocument; 66/// Gets or sets a value indicating the <see cref="PrintDocument"/> to get page settings from. 71public PrintDocument? Document
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (5)
12private PrintDocument? _document; 33public override void OnStartPrint(PrintDocument document, PrintEventArgs e) 66public override Graphics? OnStartPage(PrintDocument document, PrintPageEventArgs e) 84public override void OnEndPage(PrintDocument document, PrintPageEventArgs e) 100public override void OnEndPrint(PrintDocument document, PrintEventArgs e)
System\Windows\Forms\Printing\PrintDialog.cs (3)
28private PrintDocument? _printDocument; 67/// Gets or sets a value indicating the <see cref="PrintDocument"/> used to obtain 73public PrintDocument? Document
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
28private PrintDocument? _document; 152public PrintDocument? Document
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
684public PrintDocument? Document
System.Windows.Forms.Tests (3)
System\Windows\Forms\PageSetupDialogTests.cs (3)
116public void PageSetupDialog_Document_Set_GetReturnsExpected(PrintDocument value) 141using PrintDocument value = new(); 157using PrintDocument original = new();