コード例 #1
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Inv_Inv_Info   bll   = new Bsam.Core.Model.Models.BLL.Inv_Inv_Info();
     Bsam.Core.Model.Models.Model.Inv_Inv_Info model = bll.GetModel();
     this.lblId.Text               = model.Id.ToString();
     this.lblInvCode.Text          = model.InvCode;
     this.lblInvName.Text          = model.InvName;
     this.lblInvDesc.Text          = model.InvDesc;
     this.lblInvAddress.Text       = model.InvAddress;
     this.lblVolume.Text           = model.Volume.ToString();
     this.lblVolumeUnit.Text       = model.VolumeUnit;
     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.Inv_Inv_Info   bll   = new Bsam.Core.Model.Models.BLL.Inv_Inv_Info();
     Bsam.Core.Model.Models.Model.Inv_Inv_Info model = bll.GetModel();
     this.txtId.Text               = model.Id.ToString();
     this.txtInvCode.Text          = model.InvCode;
     this.txtInvName.Text          = model.InvName;
     this.txtInvDesc.Text          = model.InvDesc;
     this.txtInvAddress.Text       = model.InvAddress;
     this.txtVolume.Text           = model.Volume.ToString();
     this.txtVolumeUnit.Text       = model.VolumeUnit;
     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;
 }