Beispiel #1
0
 private void EditCompanyGroupButton_Click(object sender, EventArgs e)
 {
     HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_TKeys CompanyGroupKey = new HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_TKeys();
     CompanyGroupKey.GroupID_int = (Int32)this.CompanyGroupGridView.CurrentRow.Cells["colGroupID_int"].Value;
     HPS.Present.CompanyGroup.CompanyGroupEntityForm CompanyGroup = new HPS.Present.CompanyGroup.CompanyGroupEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.CompanyGroupGridView.DataSource, CompanyGroupKey);
     CompanyGroup.ShowDialog();
 }
Beispiel #2
0
 private void NewCompanyGroupButton_Click(object sender, EventArgs e)
 {
     HPS.Present.CompanyGroup.CompanyGroupEntityForm CompanyGroup = new HPS.Present.CompanyGroup.CompanyGroupEntityForm((DataTable)this.CompanyGroupGridView.DataSource);
     CompanyGroup.ShowDialog();
 }