示例#1
0
 private void StoreDG_CurrentCellDirtyStateChanged(object sender, EventArgs e)
 {
     if (StoreDG.IsCurrentCellDirty)
     {
         StoreDG.CommitEdit(DataGridViewDataErrorContexts.Commit);
     }
 }