Example #1
0
 private void ShowInfo(int UserID)
 {
     KDMYsoft.BLL.Nhiber.Accounts_Users bll=new KDMYsoft.BLL.Nhiber.Accounts_Users();
     KDMYsoft.Model.Nhiber.Accounts_Users model=bll.GetModel(UserID);
     this.lblUserID.Text=model.UserID.ToString();
     this.lblUserName.Text=model.UserName;
     this.lblPassword.Text=model.Password.ToString();
     this.lblTrueName.Text=model.TrueName;
     this.lblSex.Text=model.Sex;
     this.lblPhone.Text=model.Phone;
     this.lblEmail.Text=model.Email;
     this.lblEmployeeID.Text=model.EmployeeID.ToString();
     this.lblDepartmentID.Text=model.DepartmentID;
     this.lblActivity.Text=model.Activity?"是":"否";
     this.lblUserType.Text=model.UserType;
     this.lblStyle.Text=model.Style.ToString();
 }
Example #2
0
 private void ShowInfo(int UserID)
 {
     KDMYsoft.BLL.Nhiber.Accounts_Users   bll   = new KDMYsoft.BLL.Nhiber.Accounts_Users();
     KDMYsoft.Model.Nhiber.Accounts_Users model = bll.GetModel(UserID);
     this.lblUserID.Text       = model.UserID.ToString();
     this.lblUserName.Text     = model.UserName;
     this.txtPassword.Text     = model.Password.ToString();
     this.txtTrueName.Text     = model.TrueName;
     this.txtSex.Text          = model.Sex;
     this.txtPhone.Text        = model.Phone;
     this.txtEmail.Text        = model.Email;
     this.txtEmployeeID.Text   = model.EmployeeID.ToString();
     this.txtDepartmentID.Text = model.DepartmentID;
     this.chkActivity.Checked  = model.Activity;
     this.txtUserType.Text     = model.UserType;
     this.txtStyle.Text        = model.Style.ToString();
 }
Example #3
0
 private void ShowInfo(int UserID)
 {
     KDMYsoft.BLL.Nhiber.Accounts_Users   bll   = new KDMYsoft.BLL.Nhiber.Accounts_Users();
     KDMYsoft.Model.Nhiber.Accounts_Users model = bll.GetModel(UserID);
     this.lblUserID.Text       = model.UserID.ToString();
     this.lblUserName.Text     = model.UserName;
     this.lblPassword.Text     = model.Password.ToString();
     this.lblTrueName.Text     = model.TrueName;
     this.lblSex.Text          = model.Sex;
     this.lblPhone.Text        = model.Phone;
     this.lblEmail.Text        = model.Email;
     this.lblEmployeeID.Text   = model.EmployeeID.ToString();
     this.lblDepartmentID.Text = model.DepartmentID;
     this.lblActivity.Text     = model.Activity?"是":"否";
     this.lblUserType.Text     = model.UserType;
     this.lblStyle.Text        = model.Style.ToString();
 }
 private void ShowInfo(int UserID)
 {
     KDMYsoft.BLL.Nhiber.Accounts_Users bll=new KDMYsoft.BLL.Nhiber.Accounts_Users();
     KDMYsoft.Model.Nhiber.Accounts_Users model=bll.GetModel(UserID);
     this.lblUserID.Text=model.UserID.ToString();
     this.lblUserName.Text=model.UserName;
     this.txtPassword.Text=model.Password.ToString();
     this.txtTrueName.Text=model.TrueName;
     this.txtSex.Text=model.Sex;
     this.txtPhone.Text=model.Phone;
     this.txtEmail.Text=model.Email;
     this.txtEmployeeID.Text=model.EmployeeID.ToString();
     this.txtDepartmentID.Text=model.DepartmentID;
     this.chkActivity.Checked=model.Activity;
     this.txtUserType.Text=model.UserType;
     this.txtStyle.Text=model.Style.ToString();
 }