Esempio n. 1
0
 private void btnSearch_Click(object sender, EventArgs e)
 {
     AttendanceModel.loadRecordWithFilter(ref lstAttendance, dtpStart.Value.ToString("yyyy-MM-dd"), dtpEnd.Value.ToString("yyyy-MM-dd"), textBox1.Text);
 }
Esempio n. 2
0
 private void lstEmployee_DoubleClick(object sender, EventArgs e)
 {
     AttendanceModel.searchUser(ref lstAttendance, lstEmployee.SelectedItems[0].Text);
     textBox1.Text = lstEmployee.SelectedItems[0].Text;
 }
Esempio n. 3
0
 private void btnRefresh_Click(object sender, EventArgs e)
 {
     AttendanceModel.loadRecord(ref lstAttendance, ref lstEmployee);
 }
Esempio n. 4
0
 private void frmAttendance_Load(object sender, EventArgs e)
 {
     AttendanceModel.loadRecord(ref lstAttendance, ref lstEmployee);
     AttendanceModel.loadEmployee(ref lstEmployee);
 }