12 references to MaximumDateTime
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.cs (2)
100
DateTime localValidUntil = DateTimePicker.
MaximumDateTime
;
108
if (localValidUntil < DateTimePicker.
MaximumDateTime
)
System.Windows.Forms (5)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (4)
574
DateTime maxSupportedDate =
MaximumDateTime
;
603
if (value >
MaximumDateTime
)
1233
MaxDate =
MaximumDateTime
;
1405
return _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)
394
DateTime result = DateTimePicker.
MaximumDateTime
;
412
Action act = () => _dateTimePicker.MinDate = DateTimePicker.
MaximumDateTime
.AddDays(1);
498
_dateTimePicker.Value = DateTimePicker.
MaximumDateTime
;
499
_dateTimePicker.Value.Should().Be(DateTimePicker.
MaximumDateTime
);
WinFormsControlsTest (1)
Calendar.cs (1)
68
monthCalendar1.MaxDate =
MaximumDateTime
;