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

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

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

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

            if (UsernameInput != null)
            {
                UsernameInput.Dispose();
                UsernameInput = null;
            }
        }
Exemplo n.º 2
0
        void ReleaseDesignerOutlets()
        {
            if (ConfirmPasswordInput != null)
            {
                ConfirmPasswordInput.Dispose();
                ConfirmPasswordInput = null;
            }

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

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

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

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

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

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

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

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

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

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