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