5 references to MaxDateTime
System.Windows.Forms (3)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
608
string.Format(SR.DateTimePickerMaxDate, FormatDateTime(
MaxDateTime
)));
630
if (maxSupportedDateTime.Year >
MaxDateTime
.Year)
632
return
MaxDateTime
;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DateTimePickerTests.cs (2)
392
DateTime expectedDate = maxSupportedDateTime.Year > DateTimePicker.
MaxDateTime
.Year ? DateTimePicker.
MaxDateTime
: maxSupportedDateTime;