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