static public void AddResource(ReferenceObject projectElement, ReferenceObject newUsedResource) { projectElement.BeginChanges(); newUsedResource.Reload(); projectElement.AddLinkedObject(ProjectManagementWork.PM_link_UsedResources_GUID, newUsedResource); projectElement.EndChanges(); }
public bool HasBibleORDItem() { ReferenceObject.ApplyChanges(); ReferenceObject.Reload(); if (ReferenceObject.GetObject(BORD_link_RegistryCancelariaCard_GUID) != null) { return(true); } else { return(false); } }