StudentManager/StudentManager/App.xaml.cs
2024-09-09 18:57:50 +08:00

28 lines
647 B
C#

using StudentManager.Editor;
using StudentManager.Model;
using System.Configuration;
using System.Data;
using System.Windows;
namespace StudentManager
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : PrismApplication
{
protected override Window CreateShell()
{
return Container.Resolve<MainEditor>();
}
protected override void RegisterTypes(IContainerRegistry containerRegistry)
{
containerRegistry.RegisterForNavigation<MainEditor, Students>();
containerRegistry.RegisterForNavigation<StudentsView>();
containerRegistry.RegisterForNavigation<QuestionsView>();
}
}
}