Habanero.Faces.Win.EditableGridWin.ProcessDataGridViewKey C# (CSharp) Method

ProcessDataGridViewKey() protected method

A Microsoft-suggested override to catch key presses, since KeyPress does not work correctly on DataGridView
protected ProcessDataGridViewKey ( KeyEventArgs e ) : bool
e System.Windows.Forms.KeyEventArgs
return bool
        protected override bool ProcessDataGridViewKey(KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Delete)
            {
                DeleteKeyHandler();
                return this.ProcessDeleteKey(e.KeyData);
            }
            return base.ProcessDataGridViewKey(e);
        }