public void closeConfirmBuyOfferPopup()
 {
     if (!this.confirmBuyOfferPopupClosing)
     {
         this.confirmBuyOfferPopupClosing = true;
         if (this.isPopupWindowOpenAndClose(this.m_confirmBuyOfferPopup))
         {
             ((PlayCardsWindow) this.getCardWindow()).reactivatePanel();
         }
         this.m_confirmBuyOfferPopup = null;
         this.confirmBuyOfferPopupClosing = false;
     }
 }
 public ConfirmBuyOfferPopup openConfirmBuyOfferPopup(CustomSelfDrawPanel.UICardOffer offer, ConfirmBuyOfferPanel.CardClickPlayDelegate callback)
 {
     this.closePopupWindow(this.m_confirmBuyOfferPopup);
     this.m_confirmBuyOfferPopup = new ConfirmBuyOfferPopup();
     this.positionWindow(this.m_confirmBuyOfferPopup, false, false);
     this.m_confirmBuyOfferPopup.init(offer, callback);
     this.m_confirmBuyOfferPopup.Show(this.getCardWindow());
     return this.m_confirmBuyOfferPopup;
 }