Exemplo n.º 1
0
        void ReleaseDesignerOutlets()
        {
            if (configureLinkLabel != null)
            {
                configureLinkLabel.Dispose();
                configureLinkLabel = null;
            }

            if (plotsView != null)
            {
                plotsView.Dispose();
                plotsView = null;
            }

            if (resetAxisLinkLabel != null)
            {
                resetAxisLinkLabel.Dispose();
                resetAxisLinkLabel = null;
            }

            if (xAxisView != null)
            {
                xAxisView.Dispose();
                xAxisView = null;
            }

            if (yAxesView != null)
            {
                yAxesView.Dispose();
                yAxesView = null;
            }

            if (yAxisWidthConstraint != null)
            {
                yAxisWidthConstraint.Dispose();
                yAxisWidthConstraint = null;
            }

            if (legendItemsCollectionView != null)
            {
                legendItemsCollectionView.Dispose();
                legendItemsCollectionView = null;
            }

            if (warningsButton != null)
            {
                warningsButton.Dispose();
                warningsButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (searchField != null)
            {
                searchField.Dispose();
                searchField = null;
            }

            if (trailingConstraint != null)
            {
                trailingConstraint.Dispose();
                trailingConstraint = null;
            }

            if (dropDownButton != null)
            {
                dropDownButton.Dispose();
                dropDownButton = null;
            }
        }