MainWindow.xaml.cs 855 B

1234567891011121314151617181920212223242526272829303132333435
  1. using Demo1.Classes;
  2. using Demo1.Pages;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using System.Windows;
  9. using System.Windows.Controls;
  10. using System.Windows.Data;
  11. using System.Windows.Documents;
  12. using System.Windows.Input;
  13. using System.Windows.Media;
  14. using System.Windows.Media.Imaging;
  15. using System.Windows.Navigation;
  16. using System.Windows.Shapes;
  17. namespace Demo1
  18. {
  19. /// <summary>
  20. /// Логика взаимодействия для MainWindow.xaml
  21. /// </summary>
  22. public partial class MainWindow : Window
  23. {
  24. public MainWindow()
  25. {
  26. InitializeComponent();
  27. ClassDataBase.DB = new Entities();
  28. ClassFrame.MainFrame = MainFrame;
  29. ClassFrame.MainFrame.Navigate(new PageAgentList());
  30. }
  31. }
  32. }