Пример #1
0
        private void ShowInfo(int Id)
        {
            Maticsoft.BLL.Leaveword   bll   = new Maticsoft.BLL.Leaveword();
            Maticsoft.Model.Leaveword model = bll.GetModel(Id);
            this.lblId.Text = model.Id.ToString();
            BLL.News   BLLNews   = new BLL.News();
            Model.News ModelNews = BLLNews.GetModel((int)model.Fk_News_Id);
            this.lblFk_News_Id.Text = ModelNews.Name;
            this.lblContents.Text   = model.Contents;

            this.lblAddTimes.Text = model.AddTimes.ToString();
        }