public ViewDocumentWindow(Project project)
        {
            _dbHelper = project.DbHelper;
            _timeTableCaretaker = project.TimeTableCaretaker;

            InitializeComponent();
            DataContext = this;
            var state = _timeTableCaretaker.GetState();
            FirstWeek = state.FirstWeek;
            SecondWeek = state.SecondWeek;
        }
Example #2
0
 public TimeTableCaretaker(DbHelperBase dbHelper)
 {
     _dbHelper = dbHelper;
 }
Example #3
0
 public void SetDbHelper(DbHelperBase dbHelper)
 {
     Result.DbHelper = dbHelper;
 }