CreateData.xaml.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 BuzuevaDemo.Classes;
  16. namespace BuzuevaDemo.Pages
  17. {
  18. /// <summary>
  19. /// Логика взаимодействия для CreateZapis.xaml
  20. /// </summary>
  21. public partial class CreateData : Page
  22. {
  23. string newimg = "";
  24. ViewModel view = new ViewModel();
  25. public List<AgentType> buffer;
  26. public CreateData()
  27. {
  28. InitializeComponent();
  29. buffer = DataBase.BaseModel.AgentType.Where(x => x.ID > 0).ToList();
  30. typeag.SelectedValue = "ID";
  31. typeag.DisplayMemberPath = "Title";
  32. typeag.SelectedIndex = 1;
  33. }
  34. private void NewImage(object sender, RoutedEventArgs e)
  35. {
  36. }
  37. private void NewZapis(object sender, RoutedEventArgs e)
  38. {
  39. }
  40. }
  41. }