/// <summary> /// Overwrites the current query hotkey. /// </summary> /// <param name="modKeys">New modifier key combo.</param> /// <param name="virtKey">New virtual key.</param> public void UpdateQueryHotkey(object sender, QueryHotkeyUpdatedEventArgs e) { _hotkey.RegisterNewHotkey("QueryKey", e.ModKeys, e.VirtKey, OnHotKeyHandler); }