Esempio n. 1
0
        public void OnTimePickClick()
        {
            var now            = DateTime.Now;
            var theme          = AGDialogTheme.Default;
            var is24HourFormat = false;

            AGDateTimePicker.ShowTimePicker(now.Hour, now.Minute, OnTimePicked, OnTimePickCancel, theme, is24HourFormat);
        }
Esempio n. 2
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);
        }
Esempio n. 3
0
        public void OnPickDateClick()
        {
            var now = DateTime.Now;

            AGDateTimePicker.ShowDatePicker(now.Year, now.Month, now.Day, OnDatePicked, OnDatePickCancel);
        }
Esempio n. 4
0
        public void OnTimePickClick()
        {
            var now = DateTime.Now;

            AGDateTimePicker.ShowTimePicker(now.Hour, now.Minute, OnTimePicked, OnTimePickCancel);
        }