Esempio n. 1
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.TravelParts   bll   = new Maticsoft.BLL.TravelParts();
     Maticsoft.Model.TravelParts model = bll.GetModel(Id);
     this.lblId.Text          = model.Id.ToString();
     this.txtTravelId.Text    = model.TravelId.ToString();
     this.txtUserId.Text      = model.UserId.ToString();
     this.txtPartType.Text    = model.PartType.ToString();
     this.txtDescription.Text = model.Description;
     this.txtPartUrl.Text     = model.PartUrl;
     this.txtLongitude.Text   = model.Longitude.ToString();
     this.txtLatitude.Text    = model.Latitude.ToString();
     this.txtHeight.Text      = model.Height.ToString();
     this.txtArea.Text        = model.Area;
     this.txtCreateTime.Text  = model.CreateTime.ToString();
     this.chkIsDelete.Checked = model.IsDelete;
 }
Esempio n. 2
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.TravelParts   bll   = new Maticsoft.BLL.TravelParts();
     Maticsoft.Model.TravelParts model = bll.GetModel(Id);
     this.lblId.Text          = model.Id.ToString();
     this.lblTravelId.Text    = model.TravelId.ToString();
     this.lblUserId.Text      = model.UserId.ToString();
     this.lblPartType.Text    = model.PartType.ToString();
     this.lblDescription.Text = model.Description;
     this.lblPartUrl.Text     = model.PartUrl;
     this.lblLongitude.Text   = model.Longitude.ToString();
     this.lblLatitude.Text    = model.Latitude.ToString();
     this.lblHeight.Text      = model.Height.ToString();
     this.lblArea.Text        = model.Area;
     this.lblCreateTime.Text  = model.CreateTime.ToString();
     this.lblIsDelete.Text    = model.IsDelete?"是":"否";
 }
Esempio n. 3
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.TravelParts bll=new Maticsoft.BLL.TravelParts();
     Maticsoft.Model.TravelParts model=bll.GetModel(Id);
     this.lblId.Text=model.Id.ToString();
     this.lblTravelId.Text=model.TravelId.ToString();
     this.lblUserId.Text=model.UserId.ToString();
     this.lblPartType.Text=model.PartType.ToString();
     this.lblDescription.Text=model.Description;
     this.lblPartUrl.Text=model.PartUrl;
     this.lblLongitude.Text=model.Longitude.ToString();
     this.lblLatitude.Text=model.Latitude.ToString();
     this.lblHeight.Text=model.Height.ToString();
     this.lblArea.Text=model.Area;
     this.lblCreateTime.Text=model.CreateTime.ToString();
     this.lblIsDelete.Text=model.IsDelete?"是":"否";
 }
Esempio n. 4
0
 private void ShowInfo(int Id)
 {
     Maticsoft.BLL.TravelParts bll=new Maticsoft.BLL.TravelParts();
     Maticsoft.Model.TravelParts model=bll.GetModel(Id);
     this.lblId.Text=model.Id.ToString();
     this.txtTravelId.Text=model.TravelId.ToString();
     this.txtUserId.Text=model.UserId.ToString();
     this.txtPartType.Text=model.PartType.ToString();
     this.txtDescription.Text=model.Description;
     this.txtPartUrl.Text=model.PartUrl;
     this.txtLongitude.Text=model.Longitude.ToString();
     this.txtLatitude.Text=model.Latitude.ToString();
     this.txtHeight.Text=model.Height.ToString();
     this.txtArea.Text=model.Area;
     this.txtCreateTime.Text=model.CreateTime.ToString();
     this.chkIsDelete.Checked=model.IsDelete;
 }