예제 #1
0
 public Reference1C77(OLEConnection Connection, string RefName)
 {
     Reference = Connection.Global.CreateObject("—правочник." + RefName);
     Reference.Method("¬ыбратьЁлементы");
     FCurrentRecord = -1;
     RecRef         = new List <RecordReference1C77>();
     while (Reference.Method("ѕолучитьЁлемент").ToBool())
     {
         FCurrentRecord++;
         doCreateRecord();
         doCopyRecord();
         RecRef.Add(RecRefType);
     }
     if (FCurrentRecord >= 0)
     {
         FCurrentRecord = 0;
     }
 }
예제 #2
0
파일: OLE.cs 프로젝트: sabatex/PUB_ZIK
 public OLE(OLEConnection Connection, object Handle)
 {
     this.Connection = Connection;
     this.Handle     = Handle;
 }