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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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