7 writes to Copies
System.Drawing.Common.Tests (4)
System\Drawing\Printing\PrinterSettingsTests.cs (4)
63Copies = copies 75AssertExtensions.Throws<ArgumentException>(null, () => printerSettings.Copies = copies); 549PrinterSettings printerSettings = new() { PrinterName = printerName, Copies = 3 }; 550PrinterSettings newPrinterSettings = new() { PrinterName = printerName, Copies = 6 };
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintDialog.cs (3)
333PrinterSettings.Copies = (short)dialogSettings->nCopies; 442PrinterSettings.Copies = (short)dialogSettings.nCopies; 483settings.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)
53int copies = printerSettings.Copies; 66Assert.Equal(copies, printerSettings.Copies); 554Assert.Equal(printerSettings.Copies, newPrinterSettings.Copies); 606+ " Copies=" + printerSettings.Copies.ToString(CultureInfo.InvariantCulture)
System.Windows.Forms (3)
System\Windows\Forms\Printing\PrintDialog.cs (3)
247dialogSettings->nCopies = (ushort)PrinterSettings.Copies; 360nCopies = (uint)PrinterSettings.Copies, 481if (settings.Copies == 1)