private void AddSemesterNameCommand(object parameter) { AddSemesterName frm = new AddSemesterName(); Nullable <bool> dialogResult = frm.ShowDialog(); SemesterName = Semestr.GetSemestersNames(); }
public RegistrationSemesterVM(Guid idGrupa) { _groupId = idGrupa; ExecuteAddSemesterCommand = new Commanding(RegisterSemester, CanRegisterSemester); ExecuteAddSemesterNameCommand = new Commanding(AddSemesterName, CanAddSemesterName); ExecuteAddPrzedmiotName = new Commanding(AddPrzedmiot, CanAddPrzedmiotName); SemesterName = Semestr.GetSemestersNames(); PrzedmiotName = Przedmiot.GetPrzedmiots(); }
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(); }