public TakeAttendance() { InitializeComponent(); studentTable = new StudentTable(); attendanceTable = new AttendanceTable(); this.Disposed += (s, e) => { qrWebcam.DisposeCamera(); }; allStudents = studentTable.GetAllStudents(); markAttendances(); }
private void ViewStudent_Load(object sender, EventArgs e) { gridStudents.DataSource = studentTable.GetAllStudents(); gridStudents.Refresh(); }