mirror of
https://github.com/leiurayer/downkyi.git
synced 2025-03-22 23:30:11 +08:00
24 lines
592 B
C#
24 lines
592 B
C#
using DatabaseManager.Views;
|
|
using Prism.Ioc;
|
|
using System.Windows;
|
|
|
|
namespace DatabaseManager
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App
|
|
{
|
|
protected override Window CreateShell()
|
|
{
|
|
return Container.Resolve<MainWindow>();
|
|
}
|
|
|
|
protected override void RegisterTypes(IContainerRegistry containerRegistry)
|
|
{
|
|
containerRegistry.RegisterForNavigation<ViewCover>("Cover");
|
|
containerRegistry.RegisterForNavigation<ViewHeader>("Header");
|
|
}
|
|
}
|
|
}
|