Exemple #1
0
 private void OnHotKeyHandler1(HotKey obj)
 {
     OpenTestWindowWithTabControl();
 }
Exemple #2
0
 private void OnHotKeyHandler2(HotKey obj)
 {
     OpenTestWindowWithJustTextBox();
 }
Exemple #3
0
 public MainWindow()
 {
     InitializeComponent();
     var hotkey1 = new HotKey(Key.O, KeyModifier.Alt | KeyModifier.Win, OnHotKeyHandler1);
     var hotkey2 = new HotKey(Key.P, KeyModifier.Alt | KeyModifier.Win, OnHotKeyHandler2);
 }