private void dgvParam_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e) { int rowIndex = dgvParam.SelectedCells[0].RowIndex; evokWork.DgvInOutEdit(rowIndex, true); }