MedicineInfo.xaml.cs 1022 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data.Entity.Infrastructure;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows;
  8. using System.Windows.Controls;
  9. using System.Windows.Data;
  10. using System.Windows.Documents;
  11. using System.Windows.Input;
  12. using System.Windows.Media;
  13. using System.Windows.Media.Imaging;
  14. using System.Windows.Navigation;
  15. using System.Windows.Shapes;
  16. using static Prakticheskaya5_Venediktov.Medicine;
  17. namespace Prakticheskaya5_Venediktov
  18. {
  19. /// <summary>
  20. /// Логика взаимодействия для Medicine.xaml
  21. /// </summary>
  22. public partial class MedicineInfo : Page
  23. {
  24. Preparats medicine = new Preparats();
  25. public MedicineInfo()
  26. {
  27. InitializeComponent();
  28. Medicined.ItemsSource = medicine.medicine.ToList();
  29. }
  30. private void back_Click(object sender, RoutedEventArgs e)
  31. {
  32. NavigationService.Navigate(new AdminPage());
  33. }
  34. }
  35. }