예제 #1
0
 private void ReleaseAndDeleteValueMatrixInt(ValueMatrixInt vms)
 {
     if (vms != null)
     {
         if (vms.MatrixBlockArr != null)
         {
             foreach (ValueMatrixBlock block in vms.MatrixBlockArr)
             {
                 if (block.IntMatrix != null)
                 {
                     if (block.IntMatrix.IsOpen)
                     {
                         block.IntMatrix.Close(true);
                     }
                     block.IntMatrix = null;
                 }
             }
         }
         if (vms.IsOpen)
         {
             vms.Close(true);
         }
         vms = null;
     }
 }
예제 #2
0
 private void CloseValueMatrixInt(ValueMatrixInt valueMaxtrixInt)
 {
     if (valueMaxtrixInt != null)
     {
         valueMaxtrixInt.Close(true);
     }
 }