コード例 #1
0
ファイル: WorkPanelSchedule.xaml.cs プロジェクト: Deiwos3/IMS
        void DayDoubleClicked_Manager(Object data)
        {
            ScheduleDay day = data as ScheduleDay;
            EditScheduleWindow w = new EditScheduleWindow();
            w.ShowWithScheduleDay(day, this.groupList.SelectedItem as studentsgroup, this.timeTable.FirstDay);

            this.timeTable.FillTable(DBModel.Instance.GetLessonsByPeriodAndRef(this.lessonCollection, this.timeTable.FirstDay, this.timeTable.FirstDay.AddDays(14)));

        }
コード例 #2
0
ファイル: WorkPanelSchedule.xaml.cs プロジェクト: Deiwos3/IMS
        void EditSchedule(Object data)
        {
            EditScheduleWindow w = new EditScheduleWindow();
            w.ShowDefault(this.groupList.SelectedItem as studentsgroup, this.timeTable.FirstDay);

            
            this.timeTable.FillTable(DBModel.Instance.GetLessonsByPeriodAndRef(this.lessonCollection, this.timeTable.FirstDay, this.timeTable.FirstDay.AddDays(14)));
        }