Esempio n. 1
0
 private void ShowInfo(int ID)
 {
     Maticsoft.BLL.User   bll   = new Maticsoft.BLL.User();
     Maticsoft.Model.User model = bll.GetModel(ID);
     this.lblID.Text           = model.ID.ToString();
     this.txtGUID.Text         = model.GUID;
     this.txtUserName.Text     = model.UserName;
     this.txtUserAccount.Text  = model.UserAccount;
     this.txtUserPassWord.Text = model.UserPassWord;
     this.txtUserMail.Text     = model.UserMail;
 }
Esempio n. 2
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.User   bll   = new Maticsoft.BLL.User();
     Maticsoft.Model.User model = bll.GetModel(Id);
     this.lblId.Text          = model.Id.ToString();
     this.txtUserName.Text    = model.UserName;
     this.txtShowName.Text    = model.ShowName;
     this.txtPassWord.Text    = model.PassWord;
     this.chkSex.Checked      = model.Sex;
     this.txtPhoneNum.Text    = model.PhoneNum;
     this.txtEmail.Text       = model.Email;
     this.txtAge.Text         = model.Age.ToString();
     this.txtImgUrl.Text      = model.ImgUrl;
     this.chkIsEnable.Checked = model.IsEnable;
     this.txtCreateTime.Text  = model.CreateTime.ToString();
     this.txtUpdateTime.Text  = model.UpdateTime.ToString();
 }
Esempio n. 3
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.User bll=new Maticsoft.BLL.User();
     Maticsoft.Model.User model=bll.GetModel(Id);
     this.lblId.Text=model.Id.ToString();
     this.lblUserName.Text=model.UserName;
     this.lblShowName.Text=model.ShowName;
     this.lblPassWord.Text=model.PassWord;
     this.lblSex.Text=model.Sex?"是":"否";
     this.lblPhoneNum.Text=model.PhoneNum;
     this.lblEmail.Text=model.Email;
     this.lblAge.Text=model.Age.ToString();
     this.lblImgUrl.Text=model.ImgUrl;
     this.lblIsEnable.Text=model.IsEnable?"是":"否";
     this.lblCreateTime.Text=model.CreateTime.ToString();
     this.lblUpdateTime.Text=model.UpdateTime.ToString();
 }
Esempio n. 4
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.User   bll   = new Maticsoft.BLL.User();
     Maticsoft.Model.User model = bll.GetModel(Id);
     this.lblId.Text         = model.Id.ToString();
     this.lblUserName.Text   = model.UserName;
     this.lblShowName.Text   = model.ShowName;
     this.lblPassWord.Text   = model.PassWord;
     this.lblSex.Text        = model.Sex?"是":"否";
     this.lblPhoneNum.Text   = model.PhoneNum;
     this.lblEmail.Text      = model.Email;
     this.lblAge.Text        = model.Age.ToString();
     this.lblImgUrl.Text     = model.ImgUrl;
     this.lblIsEnable.Text   = model.IsEnable?"是":"否";
     this.lblCreateTime.Text = model.CreateTime.ToString();
     this.lblUpdateTime.Text = model.UpdateTime.ToString();
 }
Esempio n. 5
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.User bll=new Maticsoft.BLL.User();
     Maticsoft.Model.User model=bll.GetModel(Id);
     this.lblId.Text=model.Id.ToString();
     this.txtUserName.Text=model.UserName;
     this.txtShowName.Text=model.ShowName;
     this.txtPassWord.Text=model.PassWord;
     this.chkSex.Checked=model.Sex;
     this.txtPhoneNum.Text=model.PhoneNum;
     this.txtEmail.Text=model.Email;
     this.txtAge.Text=model.Age.ToString();
     this.txtImgUrl.Text=model.ImgUrl;
     this.chkIsEnable.Checked=model.IsEnable;
     this.txtCreateTime.Text=model.CreateTime.ToString();
     this.txtUpdateTime.Text=model.UpdateTime.ToString();
 }