36 instantiations of PrintDocument
System.Drawing.Common.Tests (28)
System\Drawing\Printing\PreviewPrintControllerTests.cs (8)
18
using PrintDocument document =
new
();
43
using PrintDocument document =
new
();
51
using PrintDocument document =
new
();
62
using PrintDocument document =
new
();
71
using PrintDocument document =
new
();
87
using PrintDocument document =
new
();
98
using PrintDocument document =
new
();
118
using PrintDocument document =
new
();
System\Drawing\Printing\PrintControllerTests.cs (6)
18
using PrintDocument document =
new
();
35
using PrintDocument document =
new
();
44
using PrintDocument document =
new
();
60
using PrintDocument document =
new
();
72
using PrintDocument document =
new
();
92
using PrintDocument document =
new
();
System\Drawing\Printing\PrintDocumentTests.cs (14)
41
using PrintDocument document =
new
();
50
using PrintDocument document =
new
();
61
using PrintDocument document =
new
();
71
using PrintDocument document =
new
();
79
using PrintDocument document =
new
();
89
using PrintDocument document =
new
();
97
using PrintDocument document =
new
();
109
using PrintDocument document =
new
();
133
using PrintDocument document =
new
();
151
using PrintDocument document =
new
();
173
using (PrintDocument document =
new
())
194
using PrintDocument document =
new
();
212
using PrintDocument document =
new
();
227
using PrintDocument document =
new
();
System.Windows.Forms.Tests (7)
System\Windows\Forms\PageSetupDialogTests.cs (7)
113
yield return new object[] { new
PrintDocument
() };
140
Document = new
PrintDocument
()
143
using PrintDocument value =
new
();
159
using PrintDocument original =
new
();
292
Document = new
PrintDocument
(),
333
Document = new
PrintDocument
(),
415
Document = new
PrintDocument
(),
TestPassApp (1)
PrintingControls.Designer.cs (1)
33
this.printDocument1 = new System.Drawing.Printing.
PrintDocument
();
63 references to PrintDocument
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)
2937
public override void OnEndPage(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2938
public override void OnEndPrint(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2939
public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2940
public override void OnStartPrint(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2954
public virtual void OnEndPage(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2955
public virtual void OnEndPrint(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2956
public virtual System.Drawing.Graphics? OnStartPage(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2957
public virtual void OnStartPrint(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3168
public override void OnEndPage(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3169
public override void OnEndPrint(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3170
public override System.Drawing.Graphics OnStartPage(System.Drawing.Printing.
PrintDocument
document, System.Drawing.Printing.PrintPageEventArgs e) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
3171
public 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)
18
using
PrintDocument
document = new();
43
using
PrintDocument
document = new();
51
using
PrintDocument
document = new();
62
using
PrintDocument
document = new();
71
using
PrintDocument
document = new();
87
using
PrintDocument
document = new();
98
using
PrintDocument
document = new();
118
using
PrintDocument
document = new();
System\Drawing\Printing\PrintControllerTests.cs (6)
18
using
PrintDocument
document = new();
35
using
PrintDocument
document = new();
44
using
PrintDocument
document = new();
60
using
PrintDocument
document = new();
72
using
PrintDocument
document = new();
92
using
PrintDocument
document = new();
System\Drawing\Printing\PrintDocumentTests.cs (18)
41
using
PrintDocument
document = new();
50
using
PrintDocument
document = new();
61
using
PrintDocument
document = new();
71
using
PrintDocument
document = new();
79
using
PrintDocument
document = new();
89
using
PrintDocument
document = new();
97
using
PrintDocument
document = new();
109
using
PrintDocument
document = new();
133
using
PrintDocument
document = new();
151
using
PrintDocument
document = new();
173
using (
PrintDocument
document = new())
194
using
PrintDocument
document = new();
212
using
PrintDocument
document = new();
227
using
PrintDocument
document = new();
252
public override Graphics OnStartPage(
PrintDocument
document, PrintPageEventArgs e)
258
public override void OnStartPrint(
PrintDocument
document, PrintEventArgs e)
263
public override void OnEndPrint(
PrintDocument
document, PrintEventArgs e)
268
public override void OnEndPage(
PrintDocument
document, PrintPageEventArgs e)
System.Windows.Forms (14)
System\Windows\Forms\Printing\PageSetupDialog.cs (3)
20
private
PrintDocument
? _printDocument;
66
/// Gets or sets a value indicating the <see cref="
PrintDocument
"/> to get page settings from.
71
public
PrintDocument
? Document
System\Windows\Forms\Printing\PrintControllerWithStatusDialog.cs (5)
12
private
PrintDocument
? _document;
33
public override void OnStartPrint(
PrintDocument
document, PrintEventArgs e)
66
public override Graphics? OnStartPage(
PrintDocument
document, PrintPageEventArgs e)
84
public override void OnEndPage(
PrintDocument
document, PrintPageEventArgs e)
100
public override void OnEndPrint(
PrintDocument
document, PrintEventArgs e)
System\Windows\Forms\Printing\PrintDialog.cs (3)
28
private
PrintDocument
? _printDocument;
67
/// Gets or sets a value indicating the <see cref="
PrintDocument
"/> used to obtain
73
public
PrintDocument
? Document
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
28
private
PrintDocument
? _document;
152
public
PrintDocument
? Document
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
684
public
PrintDocument
? Document
System.Windows.Forms.Tests (3)
System\Windows\Forms\PageSetupDialogTests.cs (3)
118
public void PageSetupDialog_Document_Set_GetReturnsExpected(
PrintDocument
value)
143
using
PrintDocument
value = new();
159
using
PrintDocument
original = new();
TestPassApp (1)
PrintingControls.Designer.cs (1)
182
private System.Drawing.Printing.
PrintDocument
printDocument1;