void dgvcheckIn_CellContentClick(object sender, DataGridViewCellEventArgs e) { try { dgvcheckIn.Focus(); DataGridViewRow drow = dgvcheckIn.CurrentRow; if (e.ColumnIndex == 0) { if ((bool)drow.Cells[0].Value == false) { drow.Cells[0].Value = true; } if ((bool)drow.Cells[0].Value == true) { drow.Cells[0].Value = false; } btnAddToBills.Focus(); } } catch (Exception ex) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)