示例#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();
 }
示例#2
0
 public void AddSubject(Subject subject)
 {
     ESchoolDiaryData.Subjects.Add(subject);
 }
示例#3
0
 public void RemoveSubject(Subject subject)
 {
     ESchoolDiaryData.Subjects.Remove(subject);
 }