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

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

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

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

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

            if (TitleBottomConstraint != null)
            {
                TitleBottomConstraint.Dispose();
                TitleBottomConstraint = null;
            }
        }
Exemple #2
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;
            }
        }