67 references to new
PresentationCore.Tests (1)
BinaryFormat\DataObjectTests.cs (1)
62
new System.Drawing.Printing.
PrinterSettings
(),
System.Drawing.Common (4)
System\Drawing\Printing\PageSettings.cs (2)
22
public PageSettings() : this(new
PrinterSettings
())
208
set => _printerSettings = value ?? new
PrinterSettings
();
System\Drawing\Printing\PrintDocument.cs (2)
21
private PrinterSettings _printerSettings =
new
();
98
value ??= new
PrinterSettings
();
System.Drawing.Common.Tests (59)
System\Drawing\Printing\PrintDocumentTests.cs (1)
113
PrinterSettings printerSettings =
new
();
System\Drawing\Printing\PrinterSettingsTests.cs (58)
38
PrinterSettings printerSettings =
new
();
45
PrinterSettings printerSettings =
new
();
52
PrinterSettings printerSettings =
new
();
61
PrinterSettings printerSettings =
new
()
74
PrinterSettings printerSettings =
new
();
81
PrinterSettings printerSettings =
new
();
88
PrinterSettings printerSettings =
new
()
99
PrinterSettings printerSettings =
new
();
109
PrinterSettings printerSettings =
new
()
124
PrinterSettings printerSettings =
new
();
131
PrinterSettings printerSettings =
new
();
141
PrinterSettings printerSettings =
new
()
154
PrinterSettings printerSettings =
new
();
167
PrinterSettings printerSettings =
new
();
174
PrinterSettings printerSettings =
new
();
181
PrinterSettings printerSettings =
new
()
192
PrinterSettings printerSettings =
new
();
200
PrinterSettings printerSettings =
new
();
207
PrinterSettings printerSettings =
new
();
217
PrinterSettings printerSettings =
new
()
230
PrinterSettings printerSettings =
new
();
237
PrinterSettings printerSettings =
new
();
246
PrinterSettings printerSettings =
new
()
259
PrinterSettings printerSettings =
new
();
267
PrinterSettings printerSettings =
new
()
278
PrinterSettings printerSettings =
new
();
285
PrinterSettings printerSettings =
new
();
292
PrinterSettings printerSettings =
new
();
299
PrinterSettings printerSettings =
new
();
310
PrinterSettings printerSettings =
new
()
325
PrinterSettings printerSettings =
new
();
333
PrinterSettings printerSettings =
new
()
346
PrinterSettings printerSettings =
new
()
357
PrinterSettings printerSettings =
new
()
368
PrinterSettings printerSettings =
new
();
382
PrinterSettings printerSettings =
new
();
402
PrinterSettings printerSettings =
new
();
410
PrinterSettings printerSettings =
new
();
419
PrinterSettings printerSettings =
new
() { PrinterName = GetNameOfTestPrinterSuitableForDevModeTesting() };
428
PrinterSettings printerSettings =
new
()
441
PrinterSettings printerSettings =
new
();
448
PrinterSettings printerSettings =
new
();
456
PrinterSettings printerSettings =
new
();
468
PrinterSettings printerSettings =
new
();
478
PrinterSettings printerSettings =
new
();
491
PrinterSettings printerSettings =
new
();
502
PrinterSettings printerSettings =
new
();
510
PrinterSettings printerSettings =
new
();
520
PrinterSettings printerSettings =
new
();
531
PrinterSettings printerSettings =
new
();
538
PrinterSettings printerSettings =
new
();
549
PrinterSettings printerSettings =
new
() { PrinterName = printerName, Copies = 3 };
550
PrinterSettings newPrinterSettings =
new
() { PrinterName = printerName, Copies = 6 };
565
PrinterSettings printerSettings =
new
() { PrinterName = candidate };
586
PrinterSettings printerSettings =
new
();
593
PrinterSettings printerSettings =
new
();
594
PrinterSettings newPrinterSettings =
new
();
603
PrinterSettings printerSettings =
new
();
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintDialog.cs (2)
79
_printerSettings = _printDocument is null ? new
PrinterSettings
() : _printDocument.PrinterSettings;
98
get => _printerSettings ??= new
PrinterSettings
();
System.Windows.Forms.Tests (1)
System\Windows\Forms\PageSetupDialogTests.cs (1)
305
yield return new object[] { new
PrinterSettings
() };