Esempio n. 1
0
        void ReleaseDesignerOutlets()
        {
            if (EmailTextField != null)
            {
                EmailTextField.Dispose();
                EmailTextField = null;
            }

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

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

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

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

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

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

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

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

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