internal void EditSiteVisit(SiteExplorerNodeViewModel sitevisit)
 {
     EditNode(sitevisit, (readOnly) => {
         var form = new SiteVisitDetails(User, sitevisit.ElemID, readOnly);
         form.ChangesCommitted += new PendingChangesCommittedHandler((s) => {
             Refresh();
         });
         return(form);
     }, PermissionCategory.SPARC_SITEVISIT);
 }
Esempio n. 2
0
 internal void EditSiteVisit(SiteExplorerNodeViewModel sitevisit)
 {
     EditNode(sitevisit, (readOnly) => {
         var form = new SiteVisitDetails(User, sitevisit.ElemID, readOnly);
         form.ChangesCommitted += new PendingChangesCommittedHandler((s) => {
             Refresh();
         });
         return form;
     }, PermissionCategory.SPARC_SITEVISIT);
 }