Example #1
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;
            }
        }