private void addEventGroupButton_Click(object sender, EventArgs e) { addGroupForm addGrForm = new addGroupForm(1, eventTabChosenEvent); addGrForm.ShowDialog(); eventGroupDataGrid.DataSource = DBAdapter.getEventGroups(eventTabChosenEvent); FormDGV(eventGroupDataGrid); }
private void addDocGroupButton_Click(object sender, EventArgs e) { addGroupForm addGrForm = new addGroupForm(0, docTabChosenDoc); addGrForm.ShowDialog(); docGroupsDataGrid.DataSource = DBAdapter.getDocGroups(docTabChosenDoc); FormDGV(docGroupsDataGrid); }