示例#1
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Sfc_Mitem   bll   = new Bsam.Core.Model.Models.BLL.Sfc_Mitem();
     Bsam.Core.Model.Models.Model.Sfc_Mitem model = bll.GetModel();
     this.lblId.Text               = model.Id.ToString();
     this.lblMitemCode.Text        = model.MitemCode;
     this.lblMitemName.Text        = model.MitemName;
     this.lblMitemDesc.Text        = model.MitemDesc;
     this.lblMitemType.Text        = model.MitemType;
     this.lblBrand.Text            = model.Brand;
     this.lblBuyer.Text            = model.Buyer;
     this.lblDutyPerson.Text       = model.DutyPerson;
     this.lblSupplierId.Text       = model.SupplierId.ToString();
     this.lblDefaultInvId.Text     = model.DefaultInvId.ToString();
     this.lblUom.Text              = model.Uom;
     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;
 }
示例#2
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Sfc_Mitem   bll   = new Bsam.Core.Model.Models.BLL.Sfc_Mitem();
     Bsam.Core.Model.Models.Model.Sfc_Mitem model = bll.GetModel();
     this.txtId.Text               = model.Id.ToString();
     this.txtMitemCode.Text        = model.MitemCode;
     this.txtMitemName.Text        = model.MitemName;
     this.txtMitemDesc.Text        = model.MitemDesc;
     this.txtMitemType.Text        = model.MitemType;
     this.txtBrand.Text            = model.Brand;
     this.txtBuyer.Text            = model.Buyer;
     this.txtDutyPerson.Text       = model.DutyPerson;
     this.txtSupplierId.Text       = model.SupplierId.ToString();
     this.txtDefaultInvId.Text     = model.DefaultInvId.ToString();
     this.txtUom.Text              = model.Uom;
     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;
     this.txtOrgId.Text            = model.OrgId;
 }