예제 #1
0
파일: Student.cs 프로젝트: mrojaczy/Labs
 public Student(string university, string faculty, string hometown,
                bool isFullTime, string name, string surname, int age)
     : base(name, surname, age)
 {
     University          = university;
     Faculty             = faculty;
     Hometown            = hometown;
     IsFullTime          = isFullTime;
     AcademicPerformance = AcademicPerformance.Basic;
     Scholarship         = Scholarship.None;
     RecordBook          = new RecordBook();
 }
예제 #2
0
파일: Student.cs 프로젝트: mrojaczy/Labs
 public Student(string university, string faculty, string hometown,
                bool isFullTime, string name, string surname, int age, uint semestersAmount)
     : base(name, surname, age)
 {
     University          = university;
     Faculty             = faculty;
     Hometown            = hometown;
     IsFullTime          = isFullTime;
     AcademicPerformance = AcademicPerformance.Basic;
     Scholarship         = Scholarship.Basic;
     SemestersAmount     = semestersAmount;
     RecordBook          = new RecordBook();
     AddSubjects();
     ExpelWithPartingWords += () => SetPartingWords();
     Notify += () => CreateADiploma.AddTextToDiploma(this);
 }