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