Exemple #1
0
        private void ShowKeyTips()
        {
            if (_showKeyTipsTimer != null)
            {
                _showKeyTipsTimer.Stop();
            }

            if (State == KeyTipState.Pending)
            {
                Debug.Assert(globalScope != null);

                PopupManager.CloseAll();

                if (PushKeyTipsScope(globalScope))
                {
                    State = KeyTipState.Enabled;
                    RaiseKeyTipEnterFocus();
                }
                else
                {
                    LeaveKeyTipMode();
                }
            }
        }
Exemple #2
0
 public override void OnBeforeClosing()
 {
     PopupManager.CloseAll();
     MessageBoxManager.CloseAll();
 }