private void addGroupBtn_Click(object sender, EventArgs e) { AddGroup addGroupForm = new AddGroup(false, null); addGroupForm.ShowDialog(); showValues(); }
private void editGroup_Click(object sender, EventArgs e) { if (groupListBox.SelectedIndex >= 0) { AddGroup addGroupForm = new AddGroup(true, groupListBox.SelectedItem.ToString()); addGroupForm.ShowDialog(); showValues(); } else { MessageBox.Show("Select a Group."); } }
private void editGroup_Click(object sender, EventArgs e) { if (groupListBox.SelectedIndex >= 0) { AddGroup addGroupForm = new AddGroup(true,groupListBox.SelectedItem.ToString()); addGroupForm.ShowDialog(); showValues(); } else { MessageBox.Show("Select a Group."); } }
private void addGroupBtn_Click(object sender, EventArgs e) { AddGroup addGroupForm = new AddGroup(false,null); addGroupForm.ShowDialog(); showValues(); }