Example #1
0
 private void OnHotKeyHandler1(HotKey obj)
 {
     OpenTestWindowWithTabControl();
 }
Example #2
0
 private void OnHotKeyHandler2(HotKey obj)
 {
     OpenTestWindowWithJustTextBox();
 }
Example #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);
 }