Example #1
0
        void ReleaseDesignerOutlets()
        {
            if (CreateUserButton != null)
            {
                CreateUserButton.Dispose();
                CreateUserButton = null;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            if (UserNameTextbox != null)
            {
                UserNameTextbox.Dispose();
                UserNameTextbox = null;
            }
        }
Example #3
0
 public void ClickCreateUser()
 {
     CreateUserButton.Click();
 }