public SupervisorClassBlade(SupervisorClassesPage supervisorClassesPage, ContentWindow window) { _window = window; _page = supervisorClassesPage; InitializeComponent(); SubjectComboViewModel vmComboSubject = new SubjectComboViewModel(); foreach (var item in vmComboSubject.Subject) { SubjectCombo.Items.Add(item); } TeacherComboViewModel vmComboTeacher = new TeacherComboViewModel(); TeacherCombo.ItemsSource = vmComboTeacher.Teacher; ClassTypeComboViewModel vmComboClassType = new ClassTypeComboViewModel(); ClassTypeCombo.ItemsSource = vmComboClassType.ClassType; GroupComboViewModel vmCombo = new GroupComboViewModel(); GroupCombo.ItemsSource = vmCombo.Group; }
public SupervisorNewStudentBlade(SupervisorStudentsPage page) { _page = page; InitializeComponent(); GroupComboViewModel vmCombo = new GroupComboViewModel(); GroupCombo.ItemsSource = vmCombo.Group; }