Exemplo n.º 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.InfractionSurveyGroupBLL.BLLInfractionSurveyGroup_TKeys InfractionSurveyGroupKey = new HPS.BLL.InfractionSurveyGroupBLL.BLLInfractionSurveyGroup_TKeys();
            InfractionSurveyGroupKey.InfractionSurveyGroupID_int = (Int32?)this.InfractionSurveyGroupGridView.CurrentRow.Cells["colInfractionSurveyGroupID_int"].Value;
            InfractionSurveyGroupEntityForm InfractionSurveyGroup = new InfractionSurveyGroupEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.InfractionSurveyGroupGridView.DataSource, InfractionSurveyGroupKey);

            InfractionSurveyGroup.ShowDialog();
        }
Exemplo n.º 2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            InfractionSurveyGroupEntityForm InfractionSurveyGroup = new InfractionSurveyGroupEntityForm((DataTable)this.InfractionSurveyGroupGridView.DataSource);

            InfractionSurveyGroup.ShowDialog();
        }