MainWindow.xaml.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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 Sessioa.Classes;
  16. using Sessioa.BaseModel;
  17. using Sessioa.Pages;
  18. namespace Sessioa
  19. {
  20. /// <summary>
  21. /// Логика взаимодействия для MainWindow.xaml
  22. /// </summary>
  23. public partial class MainWindow : Window
  24. {
  25. public MainWindow()
  26. {
  27. InitializeComponent();
  28. FrameClass.C_Frame = FrameMain;
  29. BaseClass.C_Base = new BaseU();
  30. FrameMain.Navigate(new Autorization());
  31. Application.Current.Properties["ListOrderUser"] = new List<Product>();
  32. Application.Current.Properties["ListOrderCountUser"] = new Dictionary<string, int>();
  33. }
  34. }
  35. }