Beispiel #1
0
 private void ShowInfo(int Id)
 {
     Bsam.Core.Model.Models.BLL.TopicDetail   bll   = new Bsam.Core.Model.Models.BLL.TopicDetail();
     Bsam.Core.Model.Models.Model.TopicDetail model = bll.GetModel(Id);
     this.lblId.Text              = model.Id.ToString();
     this.lblTopicId.Text         = model.TopicId.ToString();
     this.lbltdLogo.Text          = model.tdLogo;
     this.lbltdName.Text          = model.tdName;
     this.lbltdContent.Text       = model.tdContent;
     this.lbltdDetail.Text        = model.tdDetail;
     this.lbltdSectendDetail.Text = model.tdSectendDetail;
     this.lbltdIsDelete.Text      = model.tdIsDelete?"是":"否";
     this.lbltdRead.Text          = model.tdRead.ToString();
     this.lbltdCommend.Text       = model.tdCommend.ToString();
     this.lbltdGood.Text          = model.tdGood.ToString();
     this.lbltdCreatetime.Text    = model.tdCreatetime.ToString();
     this.lbltdUpdatetime.Text    = model.tdUpdatetime.ToString();
     this.lbltdTop.Text           = model.tdTop.ToString();
     this.lbltdAuthor.Text        = model.tdAuthor;
 }