internal void EditMaterial(SiteExplorerNodeViewModel material) { EditNode(material, (readOnly) => { var form = new MaterialDetails(User, material.ElemID, readOnly); form.ChangesCommitted += new PendingChangesCommittedHandler((s) => { Refresh(); }); return(form); }, PermissionCategory.SPARC_MATERIAL); }
internal void EditMaterial(SiteExplorerNodeViewModel material) { EditNode(material, (readOnly) => { var form = new MaterialDetails(User, material.ElemID, readOnly); form.ChangesCommitted += new PendingChangesCommittedHandler((s) => { Refresh(); }); return form; }, PermissionCategory.SPARC_MATERIAL); }