Пример #1
0
        private void dgvEmployee_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            double         id      = Convert.ToDouble(dgvEmployee.SelectedRows[0].Cells["IDS"].Value.ToString());
            AttendanceRule attRule = new AttendanceRule();

            attRule.Show();
            attRule.AttendanceRuleGet(id);
        }
Пример #2
0
 private void tsbNewRule_Click(object sender, EventArgs e)
 {
     try
     {
         AttendanceRule shiftNew = new AttendanceRule();
         shiftNew.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message.ToString());
     }
 }