Example #1
0
        private void button_editGroup_Click(object sender, EventArgs e)
        {
            DataRow selectedDataRow = ((DataRowView)comboBox_group.SelectedItem).Row;
            string group_id = Convert.ToString(selectedDataRow[Constants.column_groupId]);
            string group_name = Convert.ToString(selectedDataRow[Constants.column_groupName]);

            GroupEditor groupEditorForm =
                new GroupEditor(group_id, group_name);
            groupEditorForm.ShowDialog();
            RefreshComboBoxes();
        }
Example #2
0
 private void button_addGroup_Click(object sender, EventArgs e)
 {
     GroupEditor groupEditorForm = new GroupEditor();
     groupEditorForm.ShowDialog();
     RefreshComboBoxes();
 }