예제 #1
0
        private void addEventGroupButton_Click(object sender, EventArgs e)
        {
            addGroupForm addGrForm = new addGroupForm(1, eventTabChosenEvent);

            addGrForm.ShowDialog();
            eventGroupDataGrid.DataSource = DBAdapter.getEventGroups(eventTabChosenEvent);
            FormDGV(eventGroupDataGrid);
        }
예제 #2
0
        private void addDocGroupButton_Click(object sender, EventArgs e)
        {
            addGroupForm addGrForm = new addGroupForm(0, docTabChosenDoc);

            addGrForm.ShowDialog();
            docGroupsDataGrid.DataSource = DBAdapter.getDocGroups(docTabChosenDoc);
            FormDGV(docGroupsDataGrid);
        }