0
Reply

Listen to Keyboard input inside usercontrol

Ask a question
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?