public void closeConfirmOpenPackPopup()
 {
     if (!this.confirmOpenPackPopupClosing)
     {
         this.confirmOpenPackPopupClosing = true;
         if (this.isPopupWindowOpenAndClose(this.m_confirmOpenPackPopup))
         {
             ((PlayCardsWindow) this.getCardWindow()).reactivatePanel();
         }
         this.m_confirmOpenPackPopup = null;
         this.confirmOpenPackPopupClosing = false;
     }
 }
 public ConfirmOpenPackPopup openConfirmOpenPackPopup(CustomSelfDrawPanel.UICardPack pack, ConfirmOpenPackPanel.CardClickPlayDelegate callback)
 {
     this.closePopupWindow(this.m_confirmOpenPackPopup);
     this.m_confirmOpenPackPopup = new ConfirmOpenPackPopup();
     this.positionWindow(this.m_confirmOpenPackPopup, false, false);
     this.m_confirmOpenPackPopup.init(pack, callback);
     this.m_confirmOpenPackPopup.Show(this.getCardWindow());
     return this.m_confirmOpenPackPopup;
 }