Example #1
0
 private void dgvChangesInShift_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     try
     {
         double id = Convert.ToDouble(dgvChangesInShift.SelectedRows[0].Cells["IDS"].Value.ToString());
         AttendanceShiftEdit attRule = new AttendanceShiftEdit();
         attRule.Show();
         attRule.AttendanceGet(id);
     }
     catch
     { }
 }
Example #2
0
 private void tsbAttendanceRule_Click(object sender, EventArgs e)
 {
     try
     {
         double id = Convert.ToDouble(dgvAttendance.SelectedRows[0].Cells["IDS"].Value.ToString());
         AttendanceShiftEdit attRule = new AttendanceShiftEdit();
         attRule.Show();
         attRule.AttendanceGet(id);
     }
     catch
     { }
 }