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; }
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(); } }