private void ResetSession() { m_currentUser = null; CurrentActiveWindow = null; Contacts.Clear(); m_ActiveChatUsers.Clear(); if (null != m_mainWindow) { m_mainWindow.Dispose(); m_mainWindow = null; } if (m_sessionMgr != null) { m_sessionMgr.Dispose(); m_sessionMgr = null; } }
internal void SetHiddenMode(MainWindow Window) { CurrentActiveWindow = Window; HiddenMode = true; }