Exemple #1
0
        private void Button_Click_6(object sender, RoutedEventArgs e)
        {
            string topic_field   = SecTopField.Text;
            bool   nonFull_field = (bool)NonFullField.IsChecked;
            var    tab           = MenuLecturerLogic.getSectionsWithCondition(semestr.ID_Semester, lecturer.ID_lecturer, topic_field, nonFull_field);

            sectionsgrid.ItemsSource = tab;
        }
Exemple #2
0
        public SML_SectionManagement(Lecturer lecturer, Semester sem)
        {
            InitializeComponent();

            this.lecturer         = lecturer;
            this.semestr          = sem;
            StuSecGrid.IsReadOnly = true;

            sectionsgrid.IsReadOnly  = true;
            sectionsgrid.ItemsSource = MenuLecturerLogic.getSectionsWithCondition(sem.ID_Semester, lecturer.ID_lecturer, "", false);
        }