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

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

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

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

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

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

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

            if (UsernameTextField != null)
            {
                UsernameTextField.Dispose();
                UsernameTextField = null;
            }
        }
Esempio n. 3
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;
            }
        }