private void EditUserGroupMenuItem_Click(object sender, EventArgs e) { List <String> groups = UserGroups.GetEditableGroups(SS.I.UserName); if (groups.Count == 0) { MessageBoxMx.ShowError("There are no groups that you are currently authorized to edit"); return; } string groupName = InputBoxMx.Show( "Select the User Group that you want to edit", "Edit User Group", "", groups, -1, -1); if (Lex.IsNullOrEmpty(groupName)) { return; } DialogResult dr = PermissionsGroupEditor.Show(groupName, true); return; }