wMemberUserPrifile.xaml.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. using Microsoft.VisualBasic;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.ComponentModel;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. using System.Windows.Controls;
  10. using System.Windows.Data;
  11. using System.Windows.Documents;
  12. using System.Windows.Input;
  13. using System.Windows.Media;
  14. using System.Windows.Media.Imaging;
  15. using System.Windows.Navigation;
  16. using System.Windows.Shapes;
  17. using TeaTime;
  18. namespace teaTime
  19. {
  20. /// <summary>
  21. /// Логика взаимодействия для wMemberUserPrifile.xaml
  22. /// </summary>
  23. internal class Things
  24. {
  25. private int num;
  26. private string name;
  27. private string date;
  28. private string time;
  29. private string theme;
  30. private string descript = "";
  31. public int Num { get { return num; } set { num = value; } }
  32. public string Name { get { return name; } set { name = value; } }
  33. public string Date { get { return date; } set { date = value; } }
  34. public string Time { get { return time; } set { time = value; } }
  35. public string Theme { get { return theme; } set { theme = value; } }
  36. public string Descript { get { return descript; } set { descript = value; } }
  37. }
  38. public partial class wMemberUserPrifile : Page
  39. {
  40. Member member = new Member();
  41. public wMemberUserPrifile(Member user)
  42. {
  43. InitializeComponent();
  44. this.member = user;
  45. }
  46. private void bChange_Click(object sender, RoutedEventArgs e)
  47. {
  48. NavigationService.Navigate(new wMemberChangePrifile(member));
  49. }
  50. private void bHome_Click(object sender, RoutedEventArgs e)
  51. {
  52. NavigationService.Navigate(new wMemberMain(member));
  53. }
  54. private BindingList<Things> db;
  55. private void tInfo_Loaded(object sender, RoutedEventArgs e)
  56. {
  57. }
  58. private void tInfo_SelectionChanged(object sender, SelectionChangedEventArgs e)
  59. {
  60. }
  61. }
  62. }