Raises the Control.KeyPress event.
- e
A System.Windows.Forms.KeyPressEventArgs that contains the event data.
If the value of the KeyPressEventArgs.KeyChar property of e is Keys.Return or Keys.Escape and the ComboBox.DroppedDown property is true, the ComboBox.OnKeyPress(KeyPressEventArgs) method sets ComboBox.DroppedDown to false.