on your form's constructor, or simply use the form designer and set the KeyPreview parameter to true. Then you can use the KeyPress, KeyDown or ...
確定! 回上一頁