Ejemplo n.º 1
0
        private void btnAccountInfo_Click(object sender, EventArgs e)
        {
            Console.WriteLine("用户点击了账户信息按钮!");
            if (!this.btnAccountInfo.IsActive)
            {
                this.lbFeeCounter.Visible = false;
                this.btnFeeDetailInfo.IsActive = this.btnModifyPwd.IsActive = false;
                this.btnAccountInfo.IsActive = true;
                UserInfoPanel panel = new UserInfoPanel(GlobalTools.GetLoginUser());

                ChangePanel(panel);
               // this.btnFeeDetailInfo.TabText += "(" + GlobalTools.GetLoginUser().BuyRecords.Count.ToString() + ")";
                this.btnFeeDetailInfo.TabText = "消费记录";
                this.StopOpertionTime();
                this.SetOperationTime(30);
            }
        }
Ejemplo n.º 2
0
        private void btnAccountInfo_Click(object sender, EventArgs e)
        {
            Console.WriteLine("用户点击了账户信息按钮!");
            if (!this.btnAccountInfo.IsActive)
            {
                this.lbFeeCounter.Visible      = false;
                this.btnFeeDetailInfo.IsActive = this.btnModifyPwd.IsActive = false;
                this.btnAccountInfo.IsActive   = true;
                UserInfoPanel panel = new UserInfoPanel(GlobalTools.GetLoginUser());

                ChangePanel(panel);
                // this.btnFeeDetailInfo.TabText += "(" + GlobalTools.GetLoginUser().BuyRecords.Count.ToString() + ")";
                this.btnFeeDetailInfo.TabText = "消费记录";
                this.StopOpertionTime();
                this.SetOperationTime(30);
            }
        }