Example #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.NewsBLL.BLLNews_TKeys NewsKey = new HPS.BLL.NewsBLL.BLLNews_TKeys();
            NewsKey.NewsID_bint = (Int64?)this.NewsGridView.CurrentRow.Cells["colNewsID_bint"].Value;
            NewsEntityForm News = new NewsEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.NewsGridView.DataSource, NewsKey);

            News.ShowDialog();
        }
Example #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            NewsEntityForm News = new NewsEntityForm((DataTable)this.NewsGridView.DataSource);

            News.ShowDialog();
        }