7 references to EffectiveMaxDate
System.Windows.Forms (6)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (3)
590return EffectiveMaxDate(_maxDateTime); 655ArgumentOutOfRangeException.ThrowIfGreaterThan(value, EffectiveMaxDate(_maxDateTime)); 1310SetRange(EffectiveMinDate(_minDateTime), EffectiveMaxDate(_maxDateTime));
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (3)
447get => DateTimePicker.EffectiveMaxDate(_maxDate); 511ArgumentOutOfRangeException.ThrowIfGreaterThan(value, DateTimePicker.EffectiveMaxDate(_maxDate)); 1695SetRange(DateTimePicker.EffectiveMinDate(_minDate), DateTimePicker.EffectiveMaxDate(_maxDate));
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (1)
150Assert.Equal(DateTimePicker.EffectiveMaxDate(maxDate), accessibleObject.MaxDate);