private void AddKierunekCommand(object parameter) { AddKierunek frm = new AddKierunek(); Nullable <bool> dialogResult = frm.ShowDialog(); KierunekName = Kierunek.GetKieruneks(); }
public RegistrationGroupVM(Guid studentId) { _studentId = studentId; ExecuteAddKierunekCommand = new Commanding(AddKierunekCiagGroupCommand, CanAddKierunekCiagGroupCommand); ExecuteAddKierunek = new Commanding(AddKierunekCommand, CanAddKierunekCommand); ExecuteAddCiag = new Commanding(AddCiagCommand, CanAddCiagCommand); ExecuteAddGroup = new Commanding(AddGroupCommand, CanAddGroupCommand); SemesterName = Semestr.GetSemestersNames(); KierunekName = Kierunek.GetKieruneks(); CiagName = Ciag.GetCiags(); GroupName = Grupa.GetGrupas(); }