using Prism.Ioc; using Prism.Regions; using System.Windows.Controls; namespace PDF_Master.Views.Dialog.ChatGPTAIDialogs { /// /// Interaction logic for DocumentaryTranslationContent /// public partial class DocumentaryTranslationDialog : UserControl { private IContainerProvider containerProvider; public DocumentaryTranslationDialog(IContainerProvider containerProvider) { InitializeComponent(); this.containerProvider = containerProvider; var regionManager = containerProvider.Resolve(); RegionManager.SetRegionManager(this, regionManager); RegionManager.UpdateRegions(); } } }