/// <summary> /// Initializes hotkeys, checks updates. /// </summary> protected override void OnSourceInitialized(EventArgs e) { base.OnSourceInitialized(e); _settingsWindow.Owner = this; _hotkey.RegisterHotkeyFromSettings("QueryKey", OnHotKeyHandler); SetWindowOnTopDelegate(); InitializeClipboard(); ToggleAutoRefresh(); CheckForUpdates(); }