public void closeConnectionErrorWindow()
 {
     if (!this.connectionErrorWindowClosing)
     {
         this.connectionErrorWindowClosing = true;
         if (this.isPopupWindowOpenAndClose(this.m_connectionErrorWindow))
         {
             GameEngine.Instance.EnableMouseClicks();
             this.closeGreyOut();
             this.showDXCardBar(9);
         }
         this.m_connectionErrorWindow = null;
         this.connectionErrorWindowClosing = false;
     }
 }
 public ConnectionErrorWindow openConnectionErrorWindow()
 {
     this.openGreyOutWindow(true);
     this.closePopupWindow(this.m_connectionErrorWindow);
     this.m_connectionErrorWindow = new ConnectionErrorWindow();
     this.positionWindow(this.m_connectionErrorWindow, false, false);
     this.m_connectionErrorWindow.init();
     this.m_connectionErrorWindow.Show(this.getGreyOutWindow());
     if (Instance.isTutorialWindowOpen())
     {
         GameEngine.Instance.World.forceTutorialToBeShown();
     }
     GameEngine.Instance.DisableMouseClicks();
     return this.m_connectionErrorWindow;
 }