RegAuth.xaml.cs 818 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows;
  7. using System.Windows.Controls;
  8. using System.Windows.Data;
  9. using System.Windows.Documents;
  10. using System.Windows.Input;
  11. using System.Windows.Media.Imaging;
  12. using System.Windows.Shapes;
  13. namespace MyTests
  14. {
  15. public partial class RegAuth : Window
  16. {
  17. public RegAuth()
  18. {
  19. InitializeComponent();
  20. }
  21. private void WindowRegistration(object sender, RoutedEventArgs e) //Регистрация
  22. {
  23. MainFrame.Content = new Registration();
  24. }
  25. private void WindowEntry(object sender, RoutedEventArgs e) //Авторизация
  26. {
  27. MainFrame.Content = new Authorization();
  28. }
  29. }
  30. }