private void ShowInfo(int F_RoleID) { WSS.BLL.Roles bll = new WSS.BLL.Roles(); WSS.Model.Roles model = bll.GetModel(F_RoleID); this.lblF_RoleID.Text = model.F_RoleID.ToString(); this.chkF_IsUsed.Checked = model.F_IsUsed; this.txtF_Power.Text = model.F_Power; }
private void ShowInfo(int F_RoleID) { WSS.BLL.Roles bll = new WSS.BLL.Roles(); WSS.Model.Roles model = bll.GetModel(F_RoleID); this.lblF_RoleID.Text = model.F_RoleID.ToString(); this.lblF_IsUsed.Text = model.F_IsUsed?"ÊÇ":"·ñ"; this.lblF_Power.Text = model.F_Power; }