tags:

views:

130

answers:

1

I have a win form, have some controls. I want to handle all keypress in the form keypress event. Is it possible without writing keypress for all the controls?

+2  A: 

Setting the KeyPreview property of the form to True should enable this.

Rune Grimstad