示例#1
0
        public void UpdateAll()
        {
            if (SManager == null || SManager.FundingDeposit == null || SManager.FundingWithdraw == null)
            {
                return;
            }

            this.InitializeDeposit();
            this.InitializeWithdraw();

            UDdlDeposit.Update();
            UDdlWithdraw.Update();

            this.InitializeDepositFundinng();
            this.InitializeWithdrawFundinng();

            this.InitializeDepositAddress();
            this.InitializeWithdrawAddress();

            UTbxDeposit.Update();
            UTbxWithdraw.Update();



            SManager.FundingDeposit.UpdateAllCotrols  = false;
            SManager.FundingWithdraw.UpdateAllCotrols = false;
        }
示例#2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            UTbxDeposit.ChangeClear();
            UTbxWithdraw.ChangeClear();

            if (!IsPostBack)
            {
                this.UpdateAll();
            }

            if (SManager == null || SManager.FundingDeposit == null || SManager.FundingWithdraw == null)
            {
                return;
            }

            if (SManager.FundingDeposit.UpdateAllCotrols && SManager.FundingWithdraw.UpdateAllCotrols)
            {
                UpdateAll();
            }
        }