public static void Hide()
 {
     if (wnd != null)
     {
         wnd.Close();
         wnd = null;
     }
 }
Exemple #2
0
        public void CloseBusyWindow()
        {
            lock (_lockShowBusy)
            {
                _showBusyCount--;

                if (_showBusyCount <= 0)
                {
                    _showBusyCount = 0;
                    if (_busy != null)
                    {
                        _busy.Close();
                        _busy = null;
                    }
                }
            }
        }