MainWindow.xaml.cs 936 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using PleasantRustle.Pages;
  2. using System;
  3. using System.Collections.Generic;
  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 PleasantRustle.Class;
  17. namespace PleasantRustle
  18. {
  19. /// <summary>
  20. /// Логика взаимодействия для MainWindow.xaml
  21. /// </summary>
  22. public partial class MainWindow : Window
  23. {
  24. public static class Agents
  25. {
  26. public static Frame frm;
  27. }
  28. public MainWindow()
  29. {
  30. InitializeComponent();
  31. BaseConnect.baseConnect = new Entities3();
  32. Agents.frm = frm;
  33. frm.Navigate(new Main());
  34. }
  35. }
  36. }