예제 #1
0
 private AcadLoopEdges InternAddLoopEdges()
 {
     if (mobjAcadLoopEdges == null)
     {
         mobjAcadLoopEdges = new AcadLoopEdges();
         mobjAcadLoopEdges.FriendLetNodeParentID     = base.NodeID;
         mobjAcadLoopEdges.FriendLetApplicationIndex = FriendGetApplicationIndex;
         mobjAcadLoopEdges.FriendLetDocumentIndex    = FriendGetDocumentIndex;
         mobjAcadLoopEdges.FriendLetDatabaseIndex    = FriendGetDatabaseIndex;
     }
     return(mobjAcadLoopEdges);
 }
예제 #2
0
 internal new void FriendQuit()
 {
     if (mblnOpened)
     {
         if (mobjAcadLoopEdges != null)
         {
             mobjAcadLoopEdges.FriendQuit();
         }
         if (mobjAcGePolyline2d != null)
         {
             mobjAcGePolyline2d.FriendQuit();
         }
         base.FriendQuit();
         mobjAcadLoopEdges    = null;
         mobjAcGePolyline2d   = null;
         mobjDictAssocObjects = null;
         mblnOpened           = false;
     }
 }