示例#1
0
 private void ShowInfo(int Id)
 {
     Bsam.Core.Model.Models.BLL.Role   bll   = new Bsam.Core.Model.Models.BLL.Role();
     Bsam.Core.Model.Models.Model.Role model = bll.GetModel(Id);
     this.lblId.Text           = model.Id.ToString();
     this.chkIsDeleted.Checked = model.IsDeleted;
     this.txtName.Text         = model.Name;
     this.txtDescription.Text  = model.Description;
     this.txtOrderSort.Text    = model.OrderSort.ToString();
     this.chkEnabled.Checked   = model.Enabled;
     this.txtCreateId.Text     = model.CreateId.ToString();
     this.txtCreateBy.Text     = model.CreateBy;
     this.txtCreateTime.Text   = model.CreateTime.ToString();
     this.txtModifyId.Text     = model.ModifyId.ToString();
     this.txtModifyBy.Text     = model.ModifyBy;
     this.txtModifyTime.Text   = model.ModifyTime.ToString();
 }
示例#2
0
 private void ShowInfo(int Id)
 {
     Bsam.Core.Model.Models.BLL.Role   bll   = new Bsam.Core.Model.Models.BLL.Role();
     Bsam.Core.Model.Models.Model.Role model = bll.GetModel(Id);
     this.lblId.Text          = model.Id.ToString();
     this.lblIsDeleted.Text   = model.IsDeleted?"是":"否";
     this.lblName.Text        = model.Name;
     this.lblDescription.Text = model.Description;
     this.lblOrderSort.Text   = model.OrderSort.ToString();
     this.lblEnabled.Text     = model.Enabled?"是":"否";
     this.lblCreateId.Text    = model.CreateId.ToString();
     this.lblCreateBy.Text    = model.CreateBy;
     this.lblCreateTime.Text  = model.CreateTime.ToString();
     this.lblModifyId.Text    = model.ModifyId.ToString();
     this.lblModifyBy.Text    = model.ModifyBy;
     this.lblModifyTime.Text  = model.ModifyTime.ToString();
 }