예제 #1
0
        private void BtnGoBack_Click(object sender, RoutedEventArgs e)
        {
            CreateProfile createProfile = new CreateProfile();

            createProfile.Show();
            this.Close();
        }
예제 #2
0
        private void BtnCreateAccount_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (txtBoxCreatePassword.Password == txtBoxCreateConfirmPass.Password)
                {
                    App.Current.Resources["createAccountEmail"]    = txtBoxCreateEmail.Text;
                    App.Current.Resources["createAccountPassword"] = txtBoxCreatePassword.Password;

                    CreateProfile createProfile = new CreateProfile();
                    createProfile.Show();
                    this.Close();
                }
                else
                {
                    MessageBox.Show("Your password doesn't match.");
                }
            }
            catch (Exception exc) { MessageBox.Show(exc.Message); }
        }