root / GES_PAC / AppShell.xaml.cs @ 957bebf1
Historique | Voir | Annoter | Télécharger (1,383 ko)
1 |
using GES_PAC.View; |
---|---|
2 |
using GES_PAC.ViewModel; |
3 |
|
4 |
namespace GES_PAC |
5 |
{ |
6 |
public partial class AppShell : Shell |
7 |
{ |
8 |
public AppShell() |
9 |
{ |
10 |
InitializeComponent(); |
11 |
BindingContext = new AppShellViewModel(); |
12 |
|
13 |
Routing.RegisterRoute(nameof(MainView), typeof(MainView)); |
14 |
Routing.RegisterRoute(nameof(CreateDayView), typeof(CreateDayView)); |
15 |
Routing.RegisterRoute(nameof(CreatePersonView), typeof(CreatePersonView)); |
16 |
Routing.RegisterRoute(nameof(CreatePlaceView), typeof(CreatePlaceView)); |
17 |
Routing.RegisterRoute(nameof(CreateCalibrationView), typeof(CreateCalibrationView)); |
18 |
Routing.RegisterRoute(nameof(SetListView), typeof(SetListView)); |
19 |
Routing.RegisterRoute(nameof(CreateSetView), typeof(CreateSetView)); |
20 |
Routing.RegisterRoute(nameof(ChambersView), typeof(ChambersView)); |
21 |
Routing.RegisterRoute(nameof(EnterAnimalView), typeof(EnterAnimalView)); |
22 |
Routing.RegisterRoute(nameof(CreateMeasureView), typeof(CreateMeasureView)); |
23 |
Routing.RegisterRoute(nameof(CreateBehaviourView), typeof(CreateBehaviourView)); |
24 |
Routing.RegisterRoute(nameof(EndSetView), typeof(EndSetView)); |
25 |
Routing.RegisterRoute(nameof(EndDayView), typeof(EndDayView)); |
26 |
Routing.RegisterRoute(nameof(ExportDataView), typeof(ExportDataView)); |
27 |
} |
28 |
} |
29 |
} |