12 references to MaximumDateTime
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.cs (2)
100DateTime localValidUntil = DateTimePicker.MaximumDateTime; 108if (localValidUntil < DateTimePicker.MaximumDateTime)
System.Windows.Forms (5)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
574DateTime maxSupportedDate = MaximumDateTime; 603if (value > MaximumDateTime) 1233MaxDate = MaximumDateTime; 1405return _maxDateTime != MaximumDateTime && _maxDateTime != DateTime.MaxValue;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
1922=> _maxDate != DateTimePicker.MaximumDateTime && _maxDate != DateTime.MaxValue;
System.Windows.Forms.Tests (4)
System\Windows\Forms\DateTimePickerTests.cs (4)
394DateTime result = DateTimePicker.MaximumDateTime; 412Action act = () => _dateTimePicker.MinDate = DateTimePicker.MaximumDateTime.AddDays(1); 498_dateTimePicker.Value = DateTimePicker.MaximumDateTime; 499_dateTimePicker.Value.Should().Be(DateTimePicker.MaximumDateTime);
WinFormsControlsTest (1)
Calendar.cs (1)
68monthCalendar1.MaxDate = MaximumDateTime;