private void menuItemSecurity_Click(object sender, EventArgs e) { if (!Security.IsAuthorized(Permissions.SecurityAdmin)) { return; } FormCentralSecurity FormCUS = new FormCentralSecurity(); foreach (CentralConnection conn in _listConns) { FormCUS.ListConns.Add(conn.Copy()); } FormCUS.ShowDialog(); _listConns = CentralConnections.GetConnections(); //List may have changed when syncing security settings. FillGrid(); }
private void menuUserEdit_Click(object sender,EventArgs e) { FormCentralSecurity FormCUS=new FormCentralSecurity(); FormCUS.ShowDialog(); GetConfigAndConnect(); }