示例#1
0
        private new void Show()
        {
            _peekIndex = _historyQueue.Count;
            if (_initFlag)
            {
                Visibility = Visibility.Visible;
                _initFlag  = false;
            }

            EscapeKeyEvent();
            BindHotKey();

            base.Show();
            PocketDesktop.CenterWindow(this);
            Activate();
            Focus();
        }
示例#2
0
 private void SettingGear_MouseDown(object sender, MouseButtonEventArgs e)
 {
     PocketDesktop.CenterWindow(_settingMenu);
     _settingMenu.Show();
 }