Exemple #1
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Sys_User   bll   = new Bsam.Core.Model.Models.BLL.Sys_User();
     Bsam.Core.Model.Models.Model.Sys_User model = bll.GetModel();
     this.txtId.Text               = model.Id.ToString();
     this.txtUserName.Text         = model.UserName;
     this.txtUserAccount.Text      = model.UserAccount;
     this.txtUserPwd.Text          = model.UserPwd;
     this.txtAddress.Text          = model.Address;
     this.txtPhone.Text            = model.Phone;
     this.txtDateTimeCreated.Text  = model.DateTimeCreated.ToString();
     this.txtUserCreator.Text      = model.UserCreator;
     this.txtDateTimeModified.Text = model.DateTimeModified.ToString();
     this.txtUserModified.Text     = model.UserModified;
     this.chkState.Checked         = model.State;
 }
Exemple #2
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Sys_User   bll   = new Bsam.Core.Model.Models.BLL.Sys_User();
     Bsam.Core.Model.Models.Model.Sys_User model = bll.GetModel();
     this.lblId.Text               = model.Id.ToString();
     this.lblUserName.Text         = model.UserName;
     this.lblUserAccount.Text      = model.UserAccount;
     this.lblUserPwd.Text          = model.UserPwd;
     this.lblAddress.Text          = model.Address;
     this.lblPhone.Text            = model.Phone;
     this.lblDateTimeCreated.Text  = model.DateTimeCreated.ToString();
     this.lblUserCreator.Text      = model.UserCreator;
     this.lblDateTimeModified.Text = model.DateTimeModified.ToString();
     this.lblUserModified.Text     = model.UserModified;
     this.lblState.Text            = model.State?"是":"否";
 }