コード例 #1
0
ファイル: Show.aspx.cs プロジェクト: wwkkww1983/Csharp
 private void ShowInfo()
 {
     eChartProject.BLL.eChart.Server_Contents_Message   bll   = new eChartProject.BLL.eChart.Server_Contents_Message();
     eChartProject.Model.eChart.Server_Contents_Message model = bll.GetModel();
     this.lblID.Text           = model.ID.ToString();
     this.lblFolderID.Text     = model.FolderID.ToString();
     this.lblisOffLine.Text    = model.isOffLine?"是":"否";
     this.lblisPublic.Text     = model.isPublic?"是":"否";
     this.lblisVariations.Text = model.isVariations?"是":"否";
     this.lblsortOrder.Text    = model.sortOrder.ToString();
     this.lblQuestion.Text     = model.Question;
     this.lblRelatedID.Text    = model.RelatedID.ToString();
 }
コード例 #2
0
 private void ShowInfo()
 {
     eChartProject.BLL.eChart.Server_Contents_Message   bll   = new eChartProject.BLL.eChart.Server_Contents_Message();
     eChartProject.Model.eChart.Server_Contents_Message model = bll.GetModel();
     this.txtID.Text              = model.ID.ToString();
     this.txtFolderID.Text        = model.FolderID.ToString();
     this.chkisOffLine.Checked    = model.isOffLine;
     this.chkisPublic.Checked     = model.isPublic;
     this.chkisVariations.Checked = model.isVariations;
     this.txtsortOrder.Text       = model.sortOrder.ToString();
     this.txtQuestion.Text        = model.Question;
     this.txtRelatedID.Text       = model.RelatedID.ToString();
 }