Ejemplo n.º 1
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Sfc_Customer   bll   = new Bsam.Core.Model.Models.BLL.Sfc_Customer();
     Bsam.Core.Model.Models.Model.Sfc_Customer model = bll.GetModel();
     this.lblId.Text                = model.Id.ToString();
     this.lblCustomerCode.Text      = model.CustomerCode;
     this.lblCustomerName.Text      = model.CustomerName;
     this.lblCustomerShortName.Text = model.CustomerShortName;
     this.lblCustomerPhone.Text     = model.CustomerPhone;
     this.lblCustomerWebchat.Text   = model.CustomerWebchat;
     this.lblEnterpriseName.Text    = model.EnterpriseName;
     this.lblEnterpriseLegal.Text   = model.EnterpriseLegal;
     this.lblEnterpriseAddress.Text = model.EnterpriseAddress;
     this.lblEnterprisePhone.Text   = model.EnterprisePhone;
     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?"是":"否";
     this.lblOrgId.Text             = model.OrgId;
 }