System.Windows.Forms.ComboBox.IsInputKey(System.Windows.Forms.Keys)

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

3 Examples 7

1. Example

Project: gong-shell
Source File: FileNameComboBox.cs
protected override bool IsInputKey(Keys keyData)
        {
            if (keyData == Keys.Enter)
            {
                return true;
            }
            else
            {
                return base.IsInputKey(keyData);
            }
        }

2. Example

Project: gong-shell
Source File: FileNameComboBox.cs
protected override bool IsInputKey(Keys keyData)
        {
            if (keyData == Keys.Enter)
            {
                return true;
            }
            else
            {
                return base.IsInputKey(keyData);
            }
        }

3. Example

Project: ATF
Source File: LongEnumEditor.cs
protected override bool IsInputKey(Keys keyData)
            {
                if (keyData == Keys.Up ||
                    keyData == Keys.Down)
                {
                    return false;
                }

                return base.IsInputKey(keyData);
            }