private void ShowInfo(int RID) { Cao.WMS.BLL.caowms.Records bll = new Cao.WMS.BLL.caowms.Records(); Cao.WMS.Model.caowms.Records model = bll.GetModel(RID); this.lblRID.Text = model.RID.ToString(); this.lblRGID.Text = model.RGID; this.lblRWID.Text = model.RWID.ToString(); this.lblRQuantity.Text = model.RQuantity.ToString(); this.lblRtype.Text = model.Rtype.ToString(); this.lblRHandler.Text = model.RHandler; this.lblRTime.Text = model.RTime.ToString(); this.lbln_bakk.Text = model.n_bakk.ToString(); }
private void ShowInfo(int RID) { Cao.WMS.BLL.caowms.Records bll = new Cao.WMS.BLL.caowms.Records(); Cao.WMS.Model.caowms.Records model = bll.GetModel(RID); this.lblRID.Text = model.RID.ToString(); this.txtRGID.Text = model.RGID; this.txtRWID.Text = model.RWID.ToString(); this.txtRQuantity.Text = model.RQuantity.ToString(); //this.txtRtype.Text=model.Rtype.ToString(); if (model.Rtype == 2) { this.RadioButton2.Checked = true; } else { this.RadioButton1.Checked = true; } this.txtRHandler.Text = model.RHandler; this.txtRTime.Text = model.RTime.ToString(); this.txt_bak.Text = model.n_bakk; }