I know this question was asked a long time ago, but if anyone comes here, it could be a solution:
Just set the KeyPreview property (of your form) to True . This way your form will handle the KeyPress event in front of any other control, even if one of them has focus
I had a pretty similar problem. Check here: Form-level KeyPress with controls
Hope this helps
source share