private void ShowInfo() { Bsam.Core.Model.Models.BLL.Sys_Module_Config_Tmpl bll = new Bsam.Core.Model.Models.BLL.Sys_Module_Config_Tmpl(); Bsam.Core.Model.Models.Model.Sys_Module_Config_Tmpl model = bll.GetModel(); this.txtId.Text = model.Id.ToString(); this.txtModuleType.Text = model.ModuleType; this.txtModuleConfig.Text = model.ModuleConfig; this.txtDateTimeCreated.Text = model.DateTimeCreated.ToString(); this.txtUserCreator.Text = model.UserCreator; this.txtDateTimeModified.Text = model.DateTimeModified.ToString(); this.txtUserModified.Text = model.UserModified; this.chkState.Checked = model.State; }
private void ShowInfo() { Bsam.Core.Model.Models.BLL.Sys_Module_Config_Tmpl bll = new Bsam.Core.Model.Models.BLL.Sys_Module_Config_Tmpl(); Bsam.Core.Model.Models.Model.Sys_Module_Config_Tmpl model = bll.GetModel(); this.lblId.Text = model.Id.ToString(); this.lblModuleType.Text = model.ModuleType; this.lblModuleConfig.Text = model.ModuleConfig; this.lblDateTimeCreated.Text = model.DateTimeCreated.ToString(); this.lblUserCreator.Text = model.UserCreator; this.lblDateTimeModified.Text = model.DateTimeModified.ToString(); this.lblUserModified.Text = model.UserModified; this.lblState.Text = model.State?"是":"否"; }