public Student(string fullName, string group, int avgMark, int salary, Genders gender, StudyTypes study) { FullName = fullName; Group = group; AvgMark = avgMark; SalaryOfFamilyMemeber = salary; Gender = gender; StudyType = study; }
private void AddNewStudyType() { StudyType st = new StudyType(); st.NucMedPractice = DesktopApplication.CurrentPratice; StudyTypes.Add(st); DataStoreItemViewModel stvm = new DataStoreItemViewModel(st); DesktopApplication.MakeModalDocument(stvm, DesktopApplication.DocumentMode.New); }
private void AddStudyType() { StudyType st = new StudyType(); st.Name = "Enter Name"; st.NucMedPractice = (NucMedPractice)this.Item; StudyTypeViewModel stvm = new StudyTypeViewModel(); stvm.SetItem(st); SelectedStudyType = stvm; StudyTypes.Add(stvm); }
public void SetStudyType(StudyTypes studyTypes) { StudyType = studyTypes; }