Révision 18f910c6 GES_PAC/AppShell.xaml.cs
GES_PAC/AppShell.xaml.cs | ||
---|---|---|
1 | 1 |
using GES_PAC.View; |
2 |
using GES_PAC.ViewModel; |
|
2 | 3 |
|
3 | 4 |
namespace GES_PAC |
4 | 5 |
{ |
... | ... | |
7 | 8 |
public AppShell() |
8 | 9 |
{ |
9 | 10 |
InitializeComponent(); |
11 |
BindingContext = new AppShellViewModel(); |
|
12 |
|
|
13 |
Routing.RegisterRoute(nameof(MainView), typeof(MainView)); |
|
10 | 14 |
Routing.RegisterRoute(nameof(CreateDayView), typeof(CreateDayView)); |
11 | 15 |
Routing.RegisterRoute(nameof(CreatePersonView), typeof(CreatePersonView)); |
12 | 16 |
Routing.RegisterRoute(nameof(CreatePlaceView), typeof(CreatePlaceView)); |
Formats disponibles : Unified diff