sicpaconnexions / SICPA_Connexions / AppShell.xaml.cs @ 87e7d061
Historique | Voir | Annoter | Télécharger (680 octets)
1 |
using SICPA_Connexions.View; |
---|---|
2 |
using SICPA_Connexions.ViewModel; |
3 |
|
4 |
namespace SICPA_Connexions |
5 |
{ |
6 |
[XamlCompilation(XamlCompilationOptions.Skip)] |
7 |
public partial class AppShell : Shell |
8 |
{ |
9 |
public AppShell() |
10 |
{ |
11 |
InitializeComponent(); |
12 |
this.BindingContext = new AppShellViewModel(); |
13 |
Routing.RegisterRoute(nameof(AnimalView), typeof(AnimalView)); |
14 |
Routing.RegisterRoute(nameof(VivantEditionView), typeof(VivantEditionView)); |
15 |
Routing.RegisterRoute(nameof(SettingsView), typeof(SettingsView)); |
16 |
Routing.RegisterRoute(nameof(AboutView), typeof(AboutView)); |
17 |
} |
18 |
|
19 |
} |
20 |
} |