示例#1
0
 private void btnFeeDetailInfo_Click(object sender, EventArgs e)
 {
     Console.WriteLine("用户点击了消费信息按钮!");
     if (!this.btnFeeDetailInfo.IsActive)
     {
         this.lbFeeCounter.Text = "(" + GlobalTools.GetLoginUser().BuyRecords.Count.ToString() + ")";
         this.lbFeeCounter.Visible = true;
         this.btnAccountInfo.IsActive = this.btnModifyPwd.IsActive = false;
         this.btnFeeDetailInfo.IsActive = true;
         FeeDetailPanel panel = new FeeDetailPanel();
         panel.SetBuyLists(GlobalTools.GetLoginUser().BuyRecords);
         ChangePanel(panel);
         this.StopOpertionTime();
         this.SetOperationTime(30);
     }
 }
示例#2
0
 private void btnFeeDetailInfo_Click(object sender, EventArgs e)
 {
     Console.WriteLine("用户点击了消费信息按钮!");
     if (!this.btnFeeDetailInfo.IsActive)
     {
         this.lbFeeCounter.Text         = "(" + GlobalTools.GetLoginUser().BuyRecords.Count.ToString() + ")";
         this.lbFeeCounter.Visible      = true;
         this.btnAccountInfo.IsActive   = this.btnModifyPwd.IsActive = false;
         this.btnFeeDetailInfo.IsActive = true;
         FeeDetailPanel panel = new FeeDetailPanel();
         panel.SetBuyLists(GlobalTools.GetLoginUser().BuyRecords);
         ChangePanel(panel);
         this.StopOpertionTime();
         this.SetOperationTime(30);
     }
 }