wWorkerUserPrifile.xaml.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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;
  12. using System.Windows.Media.Imaging;
  13. using System.Windows.Navigation;
  14. using System.Windows.Shapes;
  15. using TeaTime;
  16. namespace teaTime
  17. {
  18. /// <summary>
  19. /// Логика взаимодействия для wWorkerUserPrifile.xaml
  20. /// </summary>
  21. public partial class wWorkerUserPrifile : Page
  22. {
  23. Worker worker = new Worker();
  24. public wWorkerUserPrifile(Worker user)
  25. {
  26. InitializeComponent();
  27. this.worker = user;
  28. }
  29. private void btMain_Click(object sender, RoutedEventArgs e)
  30. {
  31. NavigationService.Navigate(new wWorkerMain(worker));
  32. }
  33. private void bChange_Click(object sender, RoutedEventArgs e)
  34. {
  35. NavigationService.Navigate(new wWorkerChangeProfile(worker));
  36. }
  37. private void tInfo_Loaded(object sender, RoutedEventArgs e)
  38. {
  39. }
  40. private void tInfo_SelectionChanged(object sender, SelectionChangedEventArgs e)
  41. {
  42. }
  43. }
  44. }