mirror of
https://github.com/holgerb83/ModernWpfPlayground.git
synced 2025-04-16 21:43:51 +02:00
23 lines
536 B
C#
23 lines
536 B
C#
using System.Windows;
|
|
using Prism.Ioc;
|
|
|
|
namespace ModernWpfPlayground
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App
|
|
{
|
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|
{
|
|
containerRegistry.Register<MainWindow>();
|
|
containerRegistry.Register<MainWindowViewModel>();
|
|
}
|
|
|
|
protected override Window CreateShell()
|
|
{
|
|
return Container.Resolve<MainWindow>();
|
|
}
|
|
}
|
|
}
|