Exemplo n.º 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;
            }
        }
Exemplo n.º 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;
            }
        }
Exemplo n.º 3
0
 public SchedulerMonthViewModel(ISchedulerHolder scheduler, IEnumerable <Occurrence> occurrences)
     : base(scheduler, occurrences)
 {
 }
Exemplo n.º 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;
 }
Exemplo n.º 6
0
 public SchedulerMonthViewModel(ISchedulerHolder scheduler, IEnumerable<Occurrence> occurrences)
     : base(scheduler, occurrences)
 {
 }