You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Prism.DryIoc;
- using Prism.Ioc;
- using System.Configuration;
- using System.Data;
- using System.Windows;
-
- namespace ModbusDemo
- {
- /// <summary>
- /// Interaction logic for App.xaml
- /// </summary>
- public partial class App : PrismApplication
- {
- /// <summary>
- /// 创建启动页面
- /// </summary>
- /// <returns>启动页面</returns>
- protected override Window CreateShell()
- {
- return Container.Resolve<Window>();
- }
- /// <summary>
- /// 实现控制反转和依赖注入功能
- /// </summary>
- /// <param name="containerRegistry"></param>
- protected override void RegisterTypes(IContainerRegistry containerRegistry)
- {
-
- }
- }
-
- }
|