public void Detach() { //It is our responsibility to detach all our children before deleting them. //This is to avoid circular referencing problems. int i = 0; int tempFor1 = m_pChildren.Count; for (i = 0; i <= tempFor1; i++) { m_pChildren.Item(i).Detach(); } m_pParent = null; m_pCatalog = null; }
public void Attach(ESRI.ArcGIS.Catalog.IGxObject Parent, ESRI.ArcGIS.Catalog.IGxCatalog pCatalog) { m_pParent = (CustomRootObject_CS.clsGxStyleGallery)Parent; m_pCatalog = pCatalog; }