PageHelp.xaml.cs 1021 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using NEIntelligentControl2.Models.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. namespace NEIntelligentControl2.Pages.Help
  17. {
  18. /// <summary>
  19. /// 帮助页面
  20. /// </summary>
  21. public partial class PageHelp : Page
  22. {
  23. private TagManager _TagManager;
  24. public PageHelp(TagManager tm)
  25. {
  26. InitializeComponent();
  27. _TagManager = tm;
  28. }
  29. private void Page_Loaded(object sender, RoutedEventArgs e)
  30. {
  31. _WBMain.Source = new Uri($"file:///{AppDomain.CurrentDomain.BaseDirectory }help.mht");
  32. _TagManager.TagChanged?.Invoke(new List<Models.Station.StationInfo>());
  33. }
  34. }
  35. }