コード例 #1
0
        public TakeAttendance()
        {
            InitializeComponent();

            studentTable    = new StudentTable();
            attendanceTable = new AttendanceTable();

            this.Disposed += (s, e) => { qrWebcam.DisposeCamera(); };

            allStudents = studentTable.GetAllStudents();
            markAttendances();
        }
コード例 #2
0
 private void ViewStudent_Load(object sender, EventArgs e)
 {
     gridStudents.DataSource = studentTable.GetAllStudents();
     gridStudents.Refresh();
 }