Basket.xaml.cs 1005 B

1234567891011121314151617181920212223242526272829303132333435363738
  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.Shapes;
  14. namespace TestApp
  15. {
  16. /// <summary>
  17. /// Логика взаимодействия для Basket.xaml
  18. /// </summary>
  19. public partial class Basket : Window
  20. {
  21. Trade DB = new Trade();
  22. public static List<Product> Products = new List<Product>();
  23. public static List<CartBasket> ProductsAmount = new List<CartBasket>();
  24. public Basket()
  25. {
  26. InitializeComponent();
  27. VivodKorzini.ItemsSource = Products;
  28. }
  29. private void ToCheck(object sender, RoutedEventArgs e)
  30. {
  31. MainFrame.MFrame.Navigate(new Check());
  32. this.Close();
  33. }
  34. }
  35. }