Esempio n. 1
0
 // Use it in the forms
 public Mark(decimal markValue, TypeOfMarks markType, Student student, Subject subject)
 {
     this.MarkValue = markValue;
     this.MarkType = markType;
     this.StudentPin = student.Pin;
     this.SchClass = student.SchClass;
     this.SchSubClass = student.SchSubClass;
     this.SubjectName = subject.Name.ToString();
 }
Esempio n. 2
0
 public void AddSubject(Subject subject)
 {
     ESchoolDiaryData.Subjects.Add(subject);
 }
Esempio n. 3
0
 public void RemoveSubject(Subject subject)
 {
     ESchoolDiaryData.Subjects.Remove(subject);
 }