how can I make short cut key in mainwindows in WPF example when I press ctrl+f to open new window ?
A:
Look at CommandBinding http://msdn.microsoft.com/en-us/library/system.windows.input.commandbinding.aspx
<UserControl.CommandBindings>
<CommandBinding
Command="ApplicationCommands.Open"
Executed="_HandleApplicationOpenCommandExecute"/>
</UserControl.CommandBindings>
Jerod Houghtelling
2010-08-16 15:34:27
thanks so much really
salamonti
2010-08-17 02:54:41