Handle the PreProcessKey and PostProcessKey events instead.
Use the PreProcessKey if you need to override the default key behaviour; use the PostProcessKey if you just need to perform an additional action on pressing some key.

Is this article helpful for you?