コード例 #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;
        }
コード例 #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();
        }
コード例 #3
0
ファイル: CalendarHandle.cs プロジェクト: luoxiao0309/MMSUI
 public CalendarHandle(CalendarViewModel calendarViewModel)
 {
     this.mMonth             = DateTime.Now.Month;
     this.mYear              = DateTime.Now.Year;
     this.mCalendarViewModel = calendarViewModel;
 }
コード例 #4
0
        public void Execute(object parameter)
        {
            CalendarViewModel calendar = parameter as CalendarViewModel;

            calendar.TimeListVisibility = calendar.TimeListVisibility == Visibility.Collapsed ? Visibility.Visible : Visibility.Collapsed;
        }