コード例 #1
0
        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;
        }
コード例 #2
0
 public void Attach(ESRI.ArcGIS.Catalog.IGxObject Parent, ESRI.ArcGIS.Catalog.IGxCatalog pCatalog)
 {
     m_pParent  = (CustomRootObject_CS.clsGxStyleGallery)Parent;
     m_pCatalog = pCatalog;
 }
コード例 #3
0
 public void Attach(ESRI.ArcGIS.Catalog.IGxObject Parent, ESRI.ArcGIS.Catalog.IGxCatalog pCatalog)
 {
     m_pParent = (CustomRootObject_CS.clsGxStyleGallery)Parent;
     m_pCatalog = pCatalog;
 }
コード例 #4
0
 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;
 }