Ejemplo n.º 1
0
 public SubjectWindow(DeaneryLibrary.GroupItem group)
 {
     InitializeComponent();
     Subjects    = new SubjectRepository().GetSubjectsByGroupId(group.Id);
     _group_id   = group.Id;
     DataContext = this;
 }
Ejemplo n.º 2
0
 public GroupEditWindow(DeaneryLibrary.GroupItem item)
 {
     InitializeComponent();
     Group              = item;
     Specialites        = new SpecialityRepository().GetAll();
     SelectedSpeciality = Specialites[0];
     //SelectedSpeciality = new SpecialityItem(item.SpecialityId, item.SpecialityName);
     DataContext = this;
 }
Ejemplo n.º 3
0
 public GroupInsertWindow()
 {
     InitializeComponent();
     //Group = item;
     Group = new DeaneryLibrary.GroupItem();
     Specialites = new SpecialityRepository().GetAll();
     SelectedSpeciality = Specialites[0];
     //SelectedSpeciality = new SpecialityItem(item.SpecialityId, item.SpecialityName);
     DataContext = this;
 }