rfid-cb / CodeBarreRFID / AppShell.xaml.cs @ 0f2b4298
Historique | Voir | Annoter | Télécharger (847 octets)
1 |
using CodeBarreRFID.View; |
---|---|
2 |
using CodeBarreRFID.ViewModel; |
3 |
|
4 |
namespace CodeBarreRFID |
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(VivantView), typeof(VivantView)); |
14 |
Routing.RegisterRoute(nameof(AnimalView), typeof(AnimalView)); |
15 |
Routing.RegisterRoute(nameof(VivantEditionView), typeof(VivantEditionView)); |
16 |
Routing.RegisterRoute(nameof(ListeAnimauxView), typeof(ListeAnimauxView)); |
17 |
Routing.RegisterRoute(nameof(SettingsView), typeof(SettingsView)); |
18 |
Routing.RegisterRoute(nameof(AboutView), typeof(AboutView)); |
19 |
} |
20 |
|
21 |
} |
22 |
} |