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

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

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

            if (reccommendationView != null)
            {
                reccommendationView.Dispose();
                reccommendationView = null;
            }
        }
Example #3
0
        void ReleaseDesignerOutlets()
        {
            if (EditProfileButton != null)
            {
                EditProfileButton.Dispose();
                EditProfileButton = null;
            }

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

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