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

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

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

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

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

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

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

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

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

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