Beispiel #1
0
 private void ShowInfo(int Id)
 {
     Bsam.Core.Model.Models.BLL.OperateLog   bll   = new Bsam.Core.Model.Models.BLL.OperateLog();
     Bsam.Core.Model.Models.Model.OperateLog model = bll.GetModel(Id);
     this.lblId.Text           = model.Id.ToString();
     this.chkIsDeleted.Checked = model.IsDeleted;
     this.txtArea.Text         = model.Area;
     this.txtController.Text   = model.Controller;
     this.txtAction.Text       = model.Action;
     this.txtIPAddress.Text    = model.IPAddress;
     this.txtDescription.Text  = model.Description;
     this.txtLogTime.Text      = model.LogTime.ToString();
     this.txtLoginName.Text    = model.LoginName;
     this.txtUserId.Text       = model.UserId.ToString();
 }
Beispiel #2
0
 private void ShowInfo(int Id)
 {
     Bsam.Core.Model.Models.BLL.OperateLog   bll   = new Bsam.Core.Model.Models.BLL.OperateLog();
     Bsam.Core.Model.Models.Model.OperateLog model = bll.GetModel(Id);
     this.lblId.Text          = model.Id.ToString();
     this.lblIsDeleted.Text   = model.IsDeleted?"是":"否";
     this.lblArea.Text        = model.Area;
     this.lblController.Text  = model.Controller;
     this.lblAction.Text      = model.Action;
     this.lblIPAddress.Text   = model.IPAddress;
     this.lblDescription.Text = model.Description;
     this.lblLogTime.Text     = model.LogTime.ToString();
     this.lblLoginName.Text   = model.LoginName;
     this.lblUserId.Text      = model.UserId.ToString();
 }