Ejemplo n.º 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.InfractionGroupBLL.BLLInfractionGroup_TKeys InfractionGroupKey = new HPS.BLL.InfractionGroupBLL.BLLInfractionGroup_TKeys();
            InfractionGroupKey.InfractionGroupID_int = (Int32?)this.InfractionGroupGridView.CurrentRow.Cells["colInfractionGroupID_int"].Value;
            InfractionGroupEntityForm InfractionGroup = new InfractionGroupEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.InfractionGroupGridView.DataSource, InfractionGroupKey);

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

            InfractionGroup.ShowDialog();
        }