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

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

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

            if (TitleImageView != null)
            {
                TitleImageView.Dispose();
                TitleImageView = null;
            }
        }
Exemple #2
0
        void ReleaseDesignerOutlets()
        {
            if (ActivityIndicator != null)
            {
                ActivityIndicator.Dispose();
                ActivityIndicator = null;
            }

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

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

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

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

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

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

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

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

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

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