Esempio n. 1
0
 internal void Close()
 {
     if (!IsClosed)
     {
         Logger.Debug("Closing UIManager");
         IsClosed = true;
         if (uiThread != null)
         {
             dashBoard.Close();
             uiThread.Abort();
             uiThread = null;
         }
         if (UpdateNotification != null)
         {
             UpdateNotification.Close();
         }
         // Remove SystemTray
         if (_systray != null)
         {
             _systray.Close();
         }
     }
 }