示例#1
0
 internal void FriendQuit()
 {
     if (mblnOpened)
     {
         mobjDictReadCodes  = null;
         mobjDictReadValues = null;
         mobjAcadClasses    = null;
         mobjAcadDatabase   = null;
         mblnOpened         = false;
     }
 }
示例#2
0
 public bool Read(ref string nrstrErrMsg)
 {
     nrstrErrMsg     = null;
     mobjAcadClasses = mobjAcadDatabase.Classes;
     checked
     {
         mlngLastEntry = mlngSecBeg - 1;
         bool Read = InternReadSection(ref nrstrErrMsg);
         InternCheckIndex(mlngSecEnd + 2);
         return(Read);
     }
 }
示例#3
0
 public void ListSection(ref int rlngIdx)
 {
     mobjAcadClasses = mobjAcadDatabase.Classes;
     InternAddToDictLine(ref rlngIdx, 0, "SECTION");
     mlngSecBeg = rlngIdx;
     InternAddToDictLine(ref rlngIdx, 2, "CLASSES");
     if (mobjAcadClasses != null)
     {
         InternListSection(ref rlngIdx);
     }
     mlngSecEnd = rlngIdx;
     InternAddToDictLine(ref rlngIdx, 0, "ENDSEC");
 }