//###########################################CLASS AttendaceManager EVENTS#####################################################
        //event is raised when the class is loaded
        private void ClassLoad(object sender, EventArgs e)
        {
            _attendaceManager = new AttendanceLogic(_userInfo);

            _frmAttendanceSearchList = new SearchList();
            _frmAttendanceSearchList.OnDoubleClickEnter += new SearchListDataGridDoubleClickEnter(_frmAttendanceSearchListOnDoubleClickEnter);
            _frmAttendanceSearchList.LocationPoint       = new Point(50, 300);
            _frmAttendanceSearchList.AdoptGridSize       = true;
            _frmAttendanceSearchList.MdiParent           = this;

            lblRecordDate.Text = "Record Date: " + DateTime.Parse(_attendaceManager.ServerDateTime).ToString();
        }//------------------------
Beispiel #2
0
        public LogInLogOutInformation(CommonExchange.SysAccess userInfo, AttendanceLogic attendaceManager)
        {
            this.InitializeComponent();

            _userInfo         = userInfo;
            _attendaceManager = attendaceManager;

            this.Load += new EventHandler(ClassCload);
            this.dtpStart.ValueChanged += new EventHandler(dtpStartValueChanged);
            this.dtpEnd.ValueChanged   += new EventHandler(dtpEndValueChanged);
            this.btnClose.Click        += new EventHandler(btnCloseClick);
        }
Beispiel #3
0
        public LogInLogOutEmployeeInformation(CommonExchange.SysAccess userInfo, CommonExchange.Employee employeeInfo, AttendanceLogic attendacManager)
            : base(userInfo, attendacManager)
        {
            this.InitializeComponent();

            _employeeInfo = employeeInfo;
        }
        public LogInLogOutStudentInformation(CommonExchange.SysAccess userInfo, CommonExchange.Student studentInfo, AttendanceLogic attendanceManager)
            : base(userInfo, attendanceManager)
        {
            this.InitializeComponent();

            _studentInfo = studentInfo;
        }