private bool Register() { if (passText.Text != passConfirmText.Text) { return(false); } if (ValidatePassword(passText.Text)) { NetworkingClient.SendRegistrationData(userText.Text, emailText.Text, passText.Text); UserName = userText.Text; userText.Clear(); passText.Clear(); emailText.Clear(); passConfirmText.Clear(); return(true); } else { return(false); } }