MainWindow.xaml.cs 857 B

123456789101112131415161718192021222324252627282930313233
  1. using Demo.Classes;
  2. using Demo.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 Demo
  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 DataBaseEntities();
  28. ClassFrame.MainFrame = FrameMW;
  29. ClassFrame.MainFrame.Navigate(new PageAgentsList());
  30. }
  31. }
  32. }