22 lines
434 B
C#
22 lines
434 B
C#
using System.Windows;
|
|
using Prism.Ioc;
|
|
|
|
namespace Example
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App
|
|
{
|
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|
{
|
|
//nothing
|
|
}
|
|
|
|
protected override Window CreateShell()
|
|
{
|
|
return this.Container.Resolve<MainWindow>();
|
|
}
|
|
}
|
|
}
|