Francisco Dias

Francisco Dias

  • NA
  • 3
  • 3.5k

Listen to Keyboard input inside usercontrol

Oct 31 2013 9:32 AM
THe application I'm woking on right now uses UserControls to create a State Machine type application. The application runs only on keyboard input:

press [A] for answer call;
press [C] to cancel;
 ...so on...

only one control is onscreen at a time, each control has diferent actions and hot-keys!

What is the best way to listen to Keyboard input inside a UserControl?