private void showAddFile() { var f = new frmFiles(); f.GroupID = ID; f.ShowInGroupOnly = false; var result = MainFormPopupForm(f, this, false); if (result == DialogResult.OK) { foreach (var id in f.SelectedIDs) { AdminProxy.AddFileToGroup(ID, id); } RefreshData(); } }