Example #1
0
 void DGV_CurrentCellDirtyStateChanged(object sender, EventArgs e)
 {
     if (DGV.CurrentCell is DataGridViewCheckBoxCell && DGV.IsCurrentCellDirty)
     {
         DGV.CommitEdit(DataGridViewDataErrorContexts.Commit);
     }
 }