예제 #1
0
        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;
            }
        }
예제 #2
0
 internal void SetHiddenMode(MainWindow Window)
 {
     CurrentActiveWindow = Window;
     HiddenMode = true;
 }