private void ShowInfo(string Exp_No) { Maticsoft.BLL.ps_comb bll = new Maticsoft.BLL.ps_comb(); Maticsoft.Model.ps_comb model = bll.GetModel(Exp_No); this.lblPrj_No.Text = model.Prj_No; this.lblPrj_Name.Text = model.Prj_Name; this.lblExp_No.Text = model.Exp_No; this.lblMapCode.Text = model.MapCode; this.lblSewageSystem_ID.Text = model.SewageSystem_ID; this.lblStormSystem_ID.Text = model.StormSystem_ID; this.lblType.Text = model.Type; this.lblX.Text = model.X.ToString(); this.lblY.Text = model.Y.ToString(); this.lblHigh.Text = model.High.ToString(); this.lblWellDeep.Text = model.WellDeep.ToString(); this.lblOffset.Text = model.Offset; this.lblRotation.Text = model.Rotation.ToString(); this.lblCode.Text = model.Code; this.lblInlet_Type.Text = model.Inlet_Type; this.lblWellShape.Text = model.WellShape; this.lblWellSize.Text = model.WellSize; this.lblWellMaterial.Text = model.WellMaterial; this.lblModel.Text = model.Model; this.lblWellPipes.Text = model.WellPipes.ToString(); this.lblAddress.Text = model.Address; this.lblPointPosition.Text = model.PointPosition.ToString(); this.lblDataSource.Text = model.DataSource; this.lblVisibility.Text = model.Visibility; this.lblSunit.Text = model.Sunit; this.lblSdate.Text = model.Sdate; this.lblUpdateTime.Text = model.UpdateTime; this.lblMdate.Text = model.Mdate; this.lblComb_Type.Text = model.Comb_Type; this.lblStatus.Text = model.Status; this.lblEname.Text = model.Ename; this.lblDesign_Dept.Text = model.Design_Dept; this.lblConster_Dept.Text = model.Conster_Dept; this.lblBelong.Text = model.Belong; this.lblOperator.Text = model.Operator; this.lblNote.Text = model.Note; this.lblExp_NoOri.Text = model.Exp_NoOri; this.lblfilename.Text = model.filename; this.lblupdate.Text = model.update; }
private void ShowInfo(string Exp_No) { Maticsoft.BLL.ps_comb bll = new Maticsoft.BLL.ps_comb(); Maticsoft.Model.ps_comb model = bll.GetModel(Exp_No); this.txtPrj_No.Text = model.Prj_No; this.txtPrj_Name.Text = model.Prj_Name; this.lblExp_No.Text = model.Exp_No; this.txtMapCode.Text = model.MapCode; this.txtSewageSystem_ID.Text = model.SewageSystem_ID; this.txtStormSystem_ID.Text = model.StormSystem_ID; this.txtType.Text = model.Type; this.txtX.Text = model.X.ToString(); this.txtY.Text = model.Y.ToString(); this.txtHigh.Text = model.High.ToString(); this.txtWellDeep.Text = model.WellDeep.ToString(); this.txtOffset.Text = model.Offset; this.txtRotation.Text = model.Rotation.ToString(); this.txtCode.Text = model.Code; this.txtInlet_Type.Text = model.Inlet_Type; this.txtWellShape.Text = model.WellShape; this.txtWellSize.Text = model.WellSize; this.txtWellMaterial.Text = model.WellMaterial; this.txtModel.Text = model.Model; this.txtWellPipes.Text = model.WellPipes.ToString(); this.txtAddress.Text = model.Address; this.txtPointPosition.Text = model.PointPosition.ToString(); this.txtDataSource.Text = model.DataSource; this.txtVisibility.Text = model.Visibility; this.txtSunit.Text = model.Sunit; this.txtSdate.Text = model.Sdate; this.txtUpdateTime.Text = model.UpdateTime; this.txtMdate.Text = model.Mdate; this.txtComb_Type.Text = model.Comb_Type; this.txtStatus.Text = model.Status; this.txtEname.Text = model.Ename; this.txtDesign_Dept.Text = model.Design_Dept; this.txtConster_Dept.Text = model.Conster_Dept; this.txtBelong.Text = model.Belong; this.txtOperator.Text = model.Operator; this.txtNote.Text = model.Note; this.txtExp_NoOri.Text = model.Exp_NoOri; this.txtfilename.Text = model.filename; this.txtupdate.Text = model.update; }