28 lines
647 B
C#
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>();
|
|
}
|
|
}
|
|
|
|
}
|