4 writes to ToPage
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PrinterSettingsTests.cs (2)
430
ToPage
= toPage
442
AssertExtensions.Throws<ArgumentException>(null, () => printerSettings.
ToPage
= toPage);
System.Windows.Forms (2)
System\Windows\Forms\Printing\PrintDialog.cs (2)
325
PrinterSettings.
ToPage
= dialogSettings->nToPage;
434
PrinterSettings.
ToPage
= (int)pageRange.nToPage;
10 references to ToPage
System.Drawing.Common.Tests (2)
System\Drawing\Printing\PrinterSettingsTests.cs (2)
433
Assert.Equal(toPage, printerSettings.
ToPage
);
613
+ " ToPage=" + printerSettings.
ToPage
.ToString(CultureInfo.InvariantCulture)
System.Windows.Forms (8)
System\Windows\Forms\Printing\PrintDialog.cs (8)
278
if (PrinterSettings.
ToPage
< PrinterSettings.MinimumPage
279
|| PrinterSettings.
ToPage
> PrinterSettings.MaximumPage)
284
if (PrinterSettings.
ToPage
< PrinterSettings.FromPage)
290
dialogSettings->nToPage = (ushort)PrinterSettings.
ToPage
;
392
if (PrinterSettings.
ToPage
< PrinterSettings.MinimumPage
393
|| PrinterSettings.
ToPage
> PrinterSettings.MaximumPage)
398
if (PrinterSettings.
ToPage
< PrinterSettings.FromPage)
404
pageRange.nToPage = (uint)PrinterSettings.
ToPage
;