Ejemplo n.º 1
0
        public void Execute(object parameter)
        {
            string            date     = (parameter as object[])[0].ToString();
            CalendarViewModel calendar = (parameter as object[])[1] as CalendarViewModel;

            calendar.ChooseTime = date;
        }
Ejemplo n.º 2
0
        public void Execute(object parameter)
        {
            CalendarViewModel calendar = parameter as CalendarViewModel;

            calendar.CalendarHandle.BackMonth();
            calendar.TimeList      = calendar.CalendarHandle.GetChooseTimeList();
            calendar.TimeListTitle = calendar.CalendarHandle.GetCurrentYearMonth();
        }
Ejemplo n.º 3
0
        public void Execute(object parameter)
        {
            CalendarViewModel calendar = parameter as CalendarViewModel;

            calendar.TimeListVisibility = calendar.TimeListVisibility == Visibility.Collapsed ? Visibility.Visible : Visibility.Collapsed;
        }
Ejemplo n.º 4
0
 public CalendarHandle(CalendarViewModel calendarViewModel)
 {
     this.mMonth             = DateTime.Now.Month;
     this.mYear              = DateTime.Now.Year;
     this.mCalendarViewModel = calendarViewModel;
 }