Beispiel #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.InfractionSurveyUsersBLL.BLLInfractionSurveyUsers_TKeys InfractionSurveyUsersKey = new HPS.BLL.InfractionSurveyUsersBLL.BLLInfractionSurveyUsers_TKeys();
            InfractionSurveyUsersKey.InfractionSurveyUsersID_int = (Int32)this.InfractionSurveyUsersGridView.CurrentRow.Cells["colInfractionSurveyUsersID_int"].Value;
            InfractionSurveyUsersEntityForm InfractionSurveyUsers = new InfractionSurveyUsersEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.InfractionSurveyUsersGridView.DataSource, InfractionSurveyUsersKey);

            InfractionSurveyUsers.ShowDialog();
        }
Beispiel #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            InfractionSurveyUsersEntityForm InfractionSurveyUsers = new InfractionSurveyUsersEntityForm((DataTable)this.InfractionSurveyUsersGridView.DataSource);

            InfractionSurveyUsers.ShowDialog();
        }