Use the KeyDown or KeyUp event. The KeyEventArgs passed to the event
has a property "Control" that tells you whether the Ctrl key was
pressed. You can then check KeyValue to see if Enter was pressed (13?).
Alternatively, you can read KeyData to check for both keys at once using
bitwise OR:
if (e.KeyData == (Keys.ControlKey | Keys.Enter))
Joshua Flanagan
http://flimflan.com/blog
Coder wrote:
hi, there is still no answer, i wonder if there is a way to handle the
multiple key-press event on a C# windows form, like "Ctrl+Enter"