public List() { InitializeComponent(); Show(); StudentInterface a = new ClassStudent(); group.ItemsSource = a.GetGroup(); TeacherInterface t = new ClassTeacher(); teacher.ItemsSource = t.GetTeacher(); string[] mas1 = { "1", "2", "3", "4", "5", "6", "7", "8" }; semester.ItemsSource = mas1; }
public AddList() { InitializeComponent(); StudentInterface g = new ClassStudent(); group.ItemsSource = g.GetGroup(); TeacherInterface t = new ClassTeacher(); teacher.ItemsSource = t.GetTeacher(); string[] mas1 = { "1", "2", "3", "4", "5", "6", "7", "8" }; semester.ItemsSource = mas1; string[] mas2 = { "Зачет", "Экзамен", "Дифференцированный зачет" }; type.ItemsSource = mas2; disc.ItemsSource = mas3; }