MainContent.xaml.cs 937 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using PDF_Office.ViewModels;
  2. using Prism.Ioc;
  3. using Prism.Regions;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows;
  10. using System.Windows.Controls;
  11. using System.Windows.Data;
  12. using System.Windows.Documents;
  13. using System.Windows.Input;
  14. using System.Windows.Media;
  15. using System.Windows.Media.Imaging;
  16. using System.Windows.Navigation;
  17. using System.Windows.Shapes;
  18. namespace PDF_Office.Views
  19. {
  20. /// <summary>
  21. /// MainContent.xaml 的交互逻辑
  22. /// </summary>
  23. public partial class MainContent : UserControl
  24. {
  25. /// <summary>
  26. /// 用来区分每个页签的唯一识别码,避免聚合事件重复订阅
  27. /// </summary>
  28. public string Unicode { get; set; }
  29. public MainContent()
  30. {
  31. InitializeComponent();
  32. Unicode = Guid.NewGuid().ToString();
  33. }
  34. }
  35. }