Question : Adding a keyboard shortcut to a WPF MenuItem

I have the following code in my WPF project



All I would like it to do it when the user hits the Ctrl+S keyboard command it runs the procedure save_setup_click.  I am obviously missing something.

Answer : Adding a keyboard shortcut to a WPF MenuItem

You'll need to set up a Command object. Here's a thread that talks about how to do that.

http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/bceb7fd1-58f4-4768-a5cc-4546e7904553/
Random Solutions  
 
programming4us programming4us