Ejemplo n.º 1
0
        public void MonthCalendarAccessibleObject_MinDate_IsExpected(DateTime minDate)
        {
            using MonthCalendar monthCalendar = new();
            monthCalendar.MinDate             = minDate;
            var accessibleObject = (MonthCalendarAccessibleObject)monthCalendar.AccessibilityObject;

            Assert.Equal(DateTimePicker.EffectiveMinDate(minDate), accessibleObject.MinDate);
            Assert.False(monthCalendar.IsHandleCreated);
        }