예제 #1
0
        void ReleaseDesignerOutlets()
        {
            if (DescriptionBottomConstraint != null)
            {
                DescriptionBottomConstraint.Dispose();
                DescriptionBottomConstraint = null;
            }

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

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

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

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

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

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

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

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

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

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

            if (MapYConstraint != null)
            {
                MapYConstraint.Dispose();
                MapYConstraint = null;
            }
        }
예제 #2
0
        void ReleaseDesignerOutlets()
        {
            if (btnTopNotify != null)
            {
                btnTopNotify.Dispose();
                btnTopNotify = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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