System.Windows.Forms.DataGridView.OnCurrentCellDirtyStateChanged(System.EventArgs)

Here are the examples of the csharp api class System.Windows.Forms.DataGridView.OnCurrentCellDirtyStateChanged(System.EventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: HostsFileEditor
Source File: HostsEntryDataGridView.cs
protected override void OnCurrentCellDirtyStateChanged(System.EventArgs e)
        {
            base.OnCurrentCellDirtyStateChanged(e);

            // Immediately commit check changes
            if (this.CurrentCell.GetType() == typeof(DataGridViewCheckBoxCell))
            {
                this.CommitEdit(DataGridViewDataErrorContexts.Commit);
            }
        }