Example #1
0
        private void LoadTable()
        {
            switch (chooseTable.SelectedItem)
            {
            case "Студенты": {
                studentRepository.OutputInDataSource(ref table);
                break;
            }

            case "Успеваемость": {
                studentPerformanceRepository.OutputInDataSource(ref table);
                break;
            }

            case "Дисциплины": {
                disciplineRepository.OutputInDataSource(ref table);
                break;
            }
            }
        }