public void loadSessionStudents(RollcallSession chosenSession) { clearStudents(); foreach (var student in chosenSession.getCurrentStudents()) { addStudent(student, chosenSession.isSigned(student) ? RollcallStudent.State.SIGNED : RollcallStudent.State.UNSIGNED); } alterRowAndColumnCount(); }
public override bool isSigned(Student student) { return(rollcallSession.isSigned(student)); }