コード例 #1
0
 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);
 }
コード例 #2
0
ファイル: MaterialExplorer.xaml.cs プロジェクト: kehh/biolink
 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);
 }