Exemple #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.AnnouncementTimeBLL.BLLAnnouncementTime_TKeys AnnouncementTimeKey = new HPS.BLL.AnnouncementTimeBLL.BLLAnnouncementTime_TKeys();
            AnnouncementTimeKey.AnnouncementTimeID_int = (Int32?)this.AnnouncementTimeGridView.CurrentRow.Cells["colAnnouncementTimeID_int"].Value;
            AnnouncementTimeEntityForm AnnouncementTime = new AnnouncementTimeEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.AnnouncementTimeGridView.DataSource, AnnouncementTimeKey);

            AnnouncementTime.ShowDialog();
        }
Exemple #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            AnnouncementTimeEntityForm AnnouncementTime = new AnnouncementTimeEntityForm((DataTable)this.AnnouncementTimeGridView.DataSource);

            AnnouncementTime.ShowDialog();
        }