Exemplo n.º 1
0
    private void releaseMarkupReferences()
    {
        this.mouseDownTag = null;

        if (viewportBox != null)
        {
            viewportBox.Release();
        }

        if (elements != null)
        {
            for (int i = 0; i < elements.Count; i++)
            {
                elements[i].Release();
            }

            elements.Release();
        }
    }