예제 #1
0
 private void ShowInfo(int StateCode)
 {
     WebDemo.BLL.WebDemo.MeterStateDictionary   bll   = new WebDemo.BLL.WebDemo.MeterStateDictionary();
     WebDemo.Model.WebDemo.MeterStateDictionary model = bll.GetModel(StateCode);
     this.lblStateCode.Text = model.StateCode.ToString();
     this.lblStateName.Text = model.StateName;
     this.lblEnable.Text    = model.Enable?"是":"否";
     this.lblIsShow.Text    = model.IsShow?"是":"否";
     this.lblOrderNum.Text  = model.OrderNum.ToString();
     this.lblReasion.Text   = model.Reasion;
     this.lblOperation.Text = model.Operation;
 }
예제 #2
0
 private void ShowInfo(int StateCode)
 {
     WebDemo.BLL.WebDemo.MeterStateDictionary   bll   = new WebDemo.BLL.WebDemo.MeterStateDictionary();
     WebDemo.Model.WebDemo.MeterStateDictionary model = bll.GetModel(StateCode);
     this.lblStateCode.Text = model.StateCode.ToString();
     this.txtStateName.Text = model.StateName;
     this.chkEnable.Checked = model.Enable;
     this.chkIsShow.Checked = model.IsShow;
     this.txtOrderNum.Text  = model.OrderNum.ToString();
     this.txtReasion.Text   = model.Reasion;
     this.txtOperation.Text = model.Operation;
 }