private new void Show() { _peekIndex = _historyQueue.Count; if (_initFlag) { Visibility = Visibility.Visible; _initFlag = false; } EscapeKeyEvent(); BindHotKey(); base.Show(); PocketDesktop.CenterWindow(this); Activate(); Focus(); }
private void SettingGear_MouseDown(object sender, MouseButtonEventArgs e) { PocketDesktop.CenterWindow(_settingMenu); _settingMenu.Show(); }