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

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

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

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

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

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

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

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

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

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

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

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

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

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