Exemplo 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);
 }
Exemplo 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;
 }
Exemplo n.º 3
0
 private void btnRefresh_Click(object sender, EventArgs e)
 {
     AttendanceModel.loadRecord(ref lstAttendance, ref lstEmployee);
 }
Exemplo n.º 4
0
 private void frmAttendance_Load(object sender, EventArgs e)
 {
     AttendanceModel.loadRecord(ref lstAttendance, ref lstEmployee);
     AttendanceModel.loadEmployee(ref lstEmployee);
 }