Пример #1
0
        public ViewDocumentWindow(Project project)
        {
            _project = project;
            _excelHelper = project.ExcelHelper;
            _timeTableCaretaker = new TimeTableCaretaker();
            _timeTableCaretaker.SaveState(project);

            InitializeComponent();
            DataContext = this;

            FirstWeek = project.FirstWeek;
            SecondWeek = project.SecondWeek;
        }
Пример #2
0
 public TimeTableMemento(Week firstWeek, Week secondWeek, ExcelHelper excelHelper)
 {
     ExcelHelper = excelHelper;
     FirstWeek = firstWeek;
     SecondWeek = secondWeek;
 }
Пример #3
0
 public void SetExcelHelper(ExcelHelper excelHelper)
 {
     Result.ExcelHelper = excelHelper;
 }