using Prism.DryIoc; using Prism.Ioc; using System.Configuration; using System.Data; using System.Windows; namespace ModbusDemo { /// /// Interaction logic for App.xaml /// public partial class App : PrismApplication { /// /// 创建启动页面 /// /// 启动页面 protected override Window CreateShell() { return Container.Resolve(); } /// /// 实现控制反转和依赖注入功能 /// /// protected override void RegisterTypes(IContainerRegistry containerRegistry) { } } }