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)
54new 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(),
63 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 (12)
Special\NotSupported.cs (12)
2937public override void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2938public override void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2939public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2940public override void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2954public virtual void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2955public virtual void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2956public virtual System.Drawing.Graphics? OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2957public virtual void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3168public override void OnEndPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3169public override void OnEndPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3170public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 3171public override void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
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();