HotKey key = new HotKey(ModifierKeys modifierKeys, Key key, Window window, Action<HotKey> OnHotKeyPressed);
or
HotKey key = new HotKey(ModifierKeys modifierKeys, Key key, Window window);
key.HotkeyPressed += delegate {
//Stuff happens here
};
HotKey key = new HotKey(ModifierKeys modifierKeys, Key key, Window window, Action<HotKey> OnHotKeyPressed);
or
HotKey key = new HotKey(ModifierKeys modifierKeys, Key key, Window window);
key.HotkeyPressed += delegate {
//Stuff happens here
};