Beispiel #1
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Inv_Loc   bll   = new Bsam.Core.Model.Models.BLL.Inv_Loc();
     Bsam.Core.Model.Models.Model.Inv_Loc model = bll.GetModel();
     this.lblId.Text               = model.Id.ToString();
     this.lblLocCode.Text          = model.LocCode;
     this.lblLocName.Text          = model.LocName;
     this.lblLocDesc.Text          = model.LocDesc;
     this.lblLocStatus.Text        = model.LocStatus;
     this.lblLocOrder.Text         = model.LocOrder.ToString();
     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;
     this.lblDistrictId.Text       = model.DistrictId.ToString();
     this.lblInvId.Text            = model.InvId.ToString();
 }
Beispiel #2
0
 private void ShowInfo()
 {
     Bsam.Core.Model.Models.BLL.Inv_Loc   bll   = new Bsam.Core.Model.Models.BLL.Inv_Loc();
     Bsam.Core.Model.Models.Model.Inv_Loc model = bll.GetModel();
     this.txtId.Text               = model.Id.ToString();
     this.txtLocCode.Text          = model.LocCode;
     this.txtLocName.Text          = model.LocName;
     this.txtLocDesc.Text          = model.LocDesc;
     this.txtLocStatus.Text        = model.LocStatus;
     this.txtLocOrder.Text         = model.LocOrder.ToString();
     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;
     this.txtDistrictId.Text       = model.DistrictId.ToString();
     this.txtInvId.Text            = model.InvId.ToString();
 }