Пример #1
0
        public SchedulerWeekViewModel(ISchedulerHolder scheduler, IEnumerable<Occurrence> occurrences, DisplayedDays displayedDays)
            : base(scheduler, occurrences)
        {
            this.displayedDays = displayedDays;

            movingDays = 1;
            switch (displayedDays)
            {
                case DisplayedDays.WorkWeek:
                case DisplayedDays.Week:
                    movingDays = 7;
                    break;
            }
        }
Пример #2
0
        public SchedulerWeekViewModel(ISchedulerHolder scheduler, IEnumerable <Occurrence> occurrences, DisplayedDays displayedDays)
            : base(scheduler, occurrences)
        {
            this.displayedDays = displayedDays;

            movingDays = 1;
            switch (displayedDays)
            {
            case DisplayedDays.WorkWeek:
            case DisplayedDays.Week:
                movingDays = 7;
                break;
            }
        }
Пример #3
0
 public SchedulerMonthViewModel(ISchedulerHolder scheduler, IEnumerable <Occurrence> occurrences)
     : base(scheduler, occurrences)
 {
 }
Пример #4
0
 public SchedulerBaseSubViewModel(ISchedulerHolder scheduler, IEnumerable <Occurrence> occurrences)
 {
     this.scheduler   = scheduler;
     this.occurrences = occurrences;
 }
 public SchedulerBaseSubViewModel(ISchedulerHolder scheduler, IEnumerable<Occurrence> occurrences)
 {
     this.scheduler = scheduler;
     this.occurrences = occurrences;
 }
Пример #6
0
 public SchedulerMonthViewModel(ISchedulerHolder scheduler, IEnumerable<Occurrence> occurrences)
     : base(scheduler, occurrences)
 {
 }