30 lines
812 B
C#
30 lines
812 B
C#
|
|
using System.Configuration;
|
|||
|
|
using System.Data;
|
|||
|
|
using System.IO;
|
|||
|
|
using System.Windows;
|
|||
|
|
using UIStandard.Start.Views;
|
|||
|
|
|
|||
|
|
namespace UIStandard.Start
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Interaction logic for App.xaml
|
|||
|
|
/// </summary>
|
|||
|
|
public partial class App : PrismApplication
|
|||
|
|
{
|
|||
|
|
protected override Window CreateShell()
|
|||
|
|
{
|
|||
|
|
return Container.Resolve<MainView>();
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|||
|
|
{
|
|||
|
|
//注册成弹窗对象
|
|||
|
|
containerRegistry.RegisterDialog<UserLoginView>();
|
|||
|
|
containerRegistry.RegisterDialog<MultiModeLoginView>();
|
|||
|
|
containerRegistry.RegisterDialog<SerialPortLoginView>();
|
|||
|
|
containerRegistry.RegisterDialog<SocketLoginView>();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|