private void removeGroup_Click(object sender, EventArgs e) { foreach (int index in userGroups.SelectedIndices) { currentUser.Groups.Remove((string)userGroups.Items[index]); newGroup.Text = (string) userGroups.Items[index]; } userBinding.ResetBindings(false); }