Пример #1
0
 private void tbtnShiftDetails_Click(object sender, EventArgs e)
 {
     if (dgvTimeSheet.SelectedRows.Count > 0)
     {
         frmShiftDetails pForm = new frmShiftDetails();
         pForm.ShiftCode = dgvTimeSheet.SelectedRows[0].Cells[2].Value.ToString();
         pForm.Show();
     }
 }