RegistrationPage.xaml.cs 748 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Windows;
  3. using System.Windows.Controls;
  4. using System.Windows.Navigation;
  5. namespace MyTests.Pages
  6. {
  7. /// <summary>
  8. /// Логика взаимодействия для RegistrationPage.xaml
  9. /// </summary>
  10. public partial class RegistrationPage : Page
  11. {
  12. public RegistrationPage()
  13. {
  14. InitializeComponent();
  15. }
  16. private void RegButton_Click(object sender, RoutedEventArgs e)
  17. {
  18. //Регистрая тут
  19. NavigationService.Navigate(new Pages.LoginPage());
  20. }
  21. private void BackButton_Click(object sender, RoutedEventArgs e)
  22. {
  23. NavigationService.Navigate(new Pages.LoginPage());
  24. }
  25. }
  26. }