private void BtnManual_Click(object sender, EventArgs e)
        {
            AttendanceForm atf = new AttendanceForm();

            this.ptPres = new AttendancePresenter(attMgr, grMgr, atf);

            atf.ShowDialog();
        }
        private void BtnAuto_Click(object sender, EventArgs e)
        {
            AttendanceVideoForm avf = new AttendanceVideoForm();

            this.ptPres = new AttendancePresenter(attMgr, grMgr, avf);

            avf.ShowDialog();
        }
Exemple #3
0
        private void InitializeAttendanceLog()
        {
            var attendanceModel           = new AttendanceModel();
            AttendancePresenter presenter = new AttendancePresenter(attendanceModel);

            var attendanceView = new AttendanceView();

            compContainer.AttachView(attendanceView);

            attendanceView.AttachToPresenter(presenter, true);

            attendanceButton.Tag = attendanceView;
        }