public AbsMonthView(RectangleF rect, ICalendarController ctr, DateTime month, DayOfWeek firstDayOfWeek) : base(rect, ctr) { _month = new DateTime(month.Year, month.Month, 1); _firstDayofWeek = firstDayOfWeek; initialize(); }
public SettingsController(ISettingsService settingsService, ICalendarController calendarController, SettingsViewModel settingsViewModel, Lazy <CalendarViewModel> calendarViewModelLazy, Lazy <ManageProfileViewModel> manageProfileViewModelLazy, Lazy <TaskViewModel> taskViewModelLazy, Lazy <AppSettingsViewModel> appSettingsViewModelLazy) { _calendarController = calendarController; _settingsViewModel = settingsViewModel; _calendarViewModel = calendarViewModelLazy.Value; _taskViewModel = taskViewModelLazy.Value; _manageProfileViewModel = manageProfileViewModelLazy.Value; _appSettingsViewModel = appSettingsViewModelLazy.Value; settingsService.TaskView = _taskViewModel.View; settingsService.CalendarView = _calendarViewModel.View; settingsService.ManageProfilesView = _manageProfileViewModel.View; settingsService.AppSettingsView = _appSettingsViewModel.View; }
public MonthView(RectangleF rect, ICalendarController ctr, DateTime month, DayOfWeek firstDayOfWeek) : base(rect, ctr, month, firstDayOfWeek) { }
public AbsWeekView(RectangleF rect, ICalendarController ctr, DateTime dow) : base(rect, ctr) { _firstDayOfWeek = new DateTime(dow.Year, dow.Month, dow.Day); initialize(); }
public AbsCalendarView(RectangleF rect, ICalendarController ctr) : base(rect) { _ctr = ctr; }