public void OnTimePickClick() { var now = DateTime.Now; var theme = AGDialogTheme.Default; var is24HourFormat = false; AGDateTimePicker.ShowTimePicker(now.Hour, now.Minute, OnTimePicked, OnTimePickCancel, theme, is24HourFormat); }
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); }
public void OnPickDateClick() { var now = DateTime.Now; AGDateTimePicker.ShowDatePicker(now.Year, now.Month, now.Day, OnDatePicked, OnDatePickCancel); }
public void OnTimePickClick() { var now = DateTime.Now; AGDateTimePicker.ShowTimePicker(now.Hour, now.Minute, OnTimePicked, OnTimePickCancel); }