예제 #1
0
        private void AddCiagCommand(object parameter)
        {
            AddCiag         frm          = new AddCiag();
            Nullable <bool> dialogResult = frm.ShowDialog();

            CiagName = Ciag.GetCiags();
        }
예제 #2
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();
        }