- keyData
- One of the System.Windows.Forms.Keys values that represents the key to process.
true if the keystroke was processed and consumed by the control; otherwise, false to allow further processing.
The Form.ProcessDialogKey(Keys) method overrides the base ContainerControl.ProcessDialogKey(Keys) implementation to provide additional handling of the RETURN and ESCAPE keys in dialog boxes. The method performs no processing on keystrokes that include the ALT or CONTROL modifiers.