protected override bool Apply(EditDialogAction actionCause) { bool b = base.Apply(actionCause); if (b) { try { if (userMemberOf.Visible) { editUserPage.Description = userMemberOf.Description; } else { userMemberOf.Description = editUserPage.Description; } LUGPage lup = (LUGPage)this.ParentPage; lup.EditLUG(this); userMemberOf.ApplyMembers(); } catch (Exception e) { b = false; Logger.LogException("UserPropertiesDlg.Apply", e); } } return(b); }
protected override bool Apply(EditDialogAction actionCause) { bool b = base.Apply(actionCause); if (b) { try { LUGPage lup = (LUGPage)this.ParentPage; lup.EditLUG(this); groupPropertiesPage.ApplyMembers(); } catch (Exception e) { b = false; Logger.LogException("GroupPropertiesDlg.Apply", e); } } return(b); }