public AddLToSubject_Screen() { InitializeComponent(); repos = new SubjectRepos(); showLecturers(); showSubjects(); showLSView(); showGroups(); }
public Lecturer_Screen(User user) { InitializeComponent(); this.user = user; repos = new UserRepos(); sRepos = new SubjectRepos(); subjectList = sRepos.LecturerSubjectList(user.ID); groupList = sRepos.LecturerGroup(user.ID); for (int i = 0; i < subjectList.Count; i++) { subjectBox.Items.Add(subjectList[i].Subjectname); aSubjectBox.Items.Add(subjectList[i].Subjectname); } for (int i = 0; i < groupList.Count; i++) { groupComboBox.Items.Add(groupList[i].GroupName); aGroupBox.Items.Add(groupList[i].GroupName); } showStudents(); }
public AddSubject_Screen() { InitializeComponent(); showSubjects(); repos = new SubjectRepos(); }