Ejemplo n.º 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.ClassBLL.BLLClass_TKeys ClassKey = new HPS.BLL.ClassBLL.BLLClass_TKeys();
            ClassKey.ClassID_int = (Int32)this.ClassGridView.CurrentRow.Cells["colClassID_int"].Value;
            ClassEntityForm Class = new ClassEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.ClassGridView.DataSource, ClassKey);

            Class.ShowDialog();
        }
Ejemplo n.º 2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            ClassEntityForm Class = new ClassEntityForm((DataTable)this.ClassGridView.DataSource);

            Class.ShowDialog();
        }