示例#1
0
        public void OnPickDateWithLimitsClick()
        {
            var now     = DateTime.Now;
            var minDate = new DateTime(2015, 1, 1);
            var maxDate = new DateTime(2020, 12, 31);

            AGDateTimePicker.ShowDatePickerWithLimits(now.Year, now.Month, now.Day, OnDatePicked, OnDatePickCancel, minDate, maxDate);
        }