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