0
Answer

Listen to Keyboard input inside usercontrol

Francisco Dias

Francisco Dias

11y
1.4k
1
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?