User.xaml.cs 960 B

1234567891011121314151617181920212223242526272829303132333435
  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. namespace ModelExam
  16. {
  17. /// <summary>
  18. /// Логика взаимодействия для User.xaml
  19. /// </summary>
  20. public partial class User : Page
  21. {
  22. ViewModel viewModel = new ViewModel();
  23. // Entities entities = new Entities();
  24. //List<users> user = new List<users>();
  25. //List<users> bo = new List<users>();
  26. public User()
  27. {
  28. InitializeComponent();
  29. // lb.ItemTemplate = viewModel.user.ToList();
  30. lb.Items.Refresh();
  31. // bo = user; bo.AddRange(user);
  32. }
  33. }
  34. }