root / GES_PAC / AppShell.xaml.cs @ 18f910c6
Historique | Voir | Annoter | Télécharger (583 octets)
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 |
} |
18 |
} |
19 |
|
20 |
} |