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; } }
private void CloseValueMatrixInt(ValueMatrixInt valueMaxtrixInt) { if (valueMaxtrixInt != null) { valueMaxtrixInt.Close(true); } }