예제 #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();
        }
예제 #2
0
 public SignUpUserDetailsFragment(SecondSignUp parentWindow)
 {
     InitializeComponent();
     this.parentWindow = parentWindow;
 }