private void SingUp_Clicked(object sender, RoutedEventArgs e) { if (string.IsNullOrEmpty(nameOfUser.Text) || string.IsNullOrEmpty(countryOfUser.Text) || string.IsNullOrEmpty(passwordOfUser.Password) || string.IsNullOrEmpty(emailOfUser.Text) || agreePrivacyPolicy.IsChecked == false) { signUpWarrningMessage.Visibility = Visibility.Visible; return; } Constants.USERNAME = nameOfUser.Text; SecondSignUp mSecondSignUp = new SecondSignUp(); mSecondSignUp.Show(); Close(); }
public SignUpUserDetailsFragment(SecondSignUp parentWindow) { InitializeComponent(); this.parentWindow = parentWindow; }