Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- 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<MainWindow>();
- }
- /// <summary>
- /// 实现控制反转和依赖注入功能
- /// </summary>
- /// <param name="containerRegistry"></param>
- protected override void RegisterTypes(IContainerRegistry containerRegistry)
- {
-
- }
- }
-
- }
|