2010-08-16 8 views
0

Comment puis-je faire une touche de raccourci dans la fenêtre principale dans WPF, par exemple quand je presse Ctrl +f pour ouvrir une nouvelle fenêtre?Raccourcis clavier dans C# WPF

Répondre

0

Regardez CommandBinding

<UserControl.CommandBindings> 
    <CommandBinding 
     Command="ApplicationCommands.Open" 
     Executed="_HandleApplicationOpenCommandExecute"/>   
</UserControl.CommandBindings> 
+0

merci beaucoup vraiment – kartal