IAPCompareDialog.xaml.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using Prism.Ioc;
  2. using Prism.Regions;
  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 PDF_Master.Views.Dialog.ServiceDialog
  18. {
  19. /// <summary>
  20. /// IAPCompareDialog.xaml 的交互逻辑
  21. /// </summary>
  22. public partial class IAPCompareDialog : UserControl
  23. {
  24. private IContainerProvider containerProvider;
  25. public IAPCompareDialog(IContainerProvider containerProvider)
  26. {
  27. InitializeComponent();
  28. this.containerProvider = containerProvider;
  29. var regionManager = containerProvider.Resolve<IRegionManager>();
  30. RegionManager.SetRegionManager(this, regionManager);
  31. RegionManager.UpdateRegions();
  32. }
  33. }
  34. }