7 writes to Copies
System.Drawing.Common.Tests (4)
System\Drawing\Printing\PrinterSettingsTests.cs (4)
63
Copies
= copies
75
AssertExtensions.Throws<ArgumentException>(null, () => printerSettings.
Copies
= copies);
549
PrinterSettings printerSettings = new() { PrinterName = printerName,
Copies
= 3 };
550
PrinterSettings newPrinterSettings = new() { PrinterName = printerName,
Copies
= 6 };
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintDialog.cs (3)
333
PrinterSettings.
Copies
= (short)dialogSettings->nCopies;
442
PrinterSettings.
Copies
= (short)dialogSettings.nCopies;
483
settings.
Copies
= copies;
9 references to Copies
System.Drawing.Common (1)
System\Drawing\Printing\PrinterSettings.cs (1)
1047
$"[PrinterSettings {PrinterName} Copies={
Copies
} Collate={Collate} Duplex={Duplex} FromPage={FromPage} LandscapeAngle={LandscapeAngle} MaximumCopies={MaximumCopies} OutputPort={OutputPort} ToPage={ToPage}]";
System.Drawing.Common.Tests (5)
System\Drawing\Printing\PrinterSettingsTests.cs (5)
53
int copies = printerSettings.
Copies
;
66
Assert.Equal(copies, printerSettings.
Copies
);
554
Assert.Equal(printerSettings.
Copies
, newPrinterSettings.
Copies
);
606
+ " Copies=" + printerSettings.
Copies
.ToString(CultureInfo.InvariantCulture)
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintDialog.cs (3)
247
dialogSettings->nCopies = (ushort)PrinterSettings.
Copies
;
360
nCopies = (uint)PrinterSettings.
Copies
,
481
if (settings.
Copies
== 1)