Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public SignUpUserDetailsFragment(SecondSignUp parentWindow)
 {
     InitializeComponent();
     this.parentWindow = parentWindow;
 }