コード例 #1
0
 public void SelectWeek(ISchedulerWeekModel week)
 {
     if (week == null)
     {
         throw new ArgumentNullException("week");
     }
     InitializeViewModel(DisplayMode.Week, week.Days[0].Date);
 }
コード例 #2
0
 protected override void InitializeModel(DateTime date)
 {
     week = new SchedulerWeekModel(scheduler.DisplayInfo, date, displayedDays);
     week.SetDate(date);
     SetModel(week, "DisplayedDays");
 }
コード例 #3
0
 protected override void InitializeModel(DateTime date)
 {
     week = new SchedulerWeekModel(scheduler.DisplayInfo, date, displayedDays);
     week.SetDate(date);
     SetModel(week, "DisplayedDays");
 }
コード例 #4
0
 public SchedulerMonthWeekHeaderViewModel(IWeekSelected weekSelected, ISchedulerWeekModel week)
 {
     this.weekSelected = weekSelected;
     this.week         = week;
     SetModel(week, "Week");
 }
コード例 #5
0
 public void SelectWeek(ISchedulerWeekModel week)
 {
     this.week = week;
 }
コード例 #6
0
 public void SelectWeek(ISchedulerWeekModel week)
 {
     if (week == null)
         throw new ArgumentNullException("week");
     InitializeViewModel(DisplayMode.Week, week.Days[0].Date);
 }
コード例 #7
0
 public void SelectWeek(ISchedulerWeekModel week)
 {
     this.week = week;
 }