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