Ejemplo n.º 1
0
        private void AddSemesterNameCommand(object parameter)
        {
            AddSemesterName frm          = new AddSemesterName();
            Nullable <bool> dialogResult = frm.ShowDialog();

            SemesterName = Semestr.GetSemestersNames();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }