Exemplo 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);
        }
Exemplo 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);
        }
Exemplo n.º 3
0
        public void OnPickDateClick()
        {
            var now = DateTime.Now;

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

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