Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (AreaCollection != null)
            {
                AreaCollection.Dispose();
                AreaCollection = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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