Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 4
0
 public void SetStudyType(StudyTypes studyTypes)
 {
     StudyType = studyTypes;
 }