private void Button_Submit_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         bool a = _bll.ConfirmEmail(CurrentUser.Email, CodeBox.Text);
         if (a)
         {
             MessageBox.Show("Done");
             Login_Window window = new Login_Window();
             window.Show(); this.Close();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Esempio n. 2
0
        private void ButtonClose_Click(object sender, RoutedEventArgs e)
        {
            Login_Window window = new Login_Window();

            window.Show(); this.Close();
        }