24 lines
615 B
C#
24 lines
615 B
C#
![]() |
using MyMobileApp.ViewModels;
|
|||
|
using MyMobileApp.Views;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using Xamarin.Forms;
|
|||
|
|
|||
|
namespace MyMobileApp
|
|||
|
{
|
|||
|
public partial class AppShell : Xamarin.Forms.Shell
|
|||
|
{
|
|||
|
public AppShell()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
Routing.RegisterRoute(nameof(ItemDetailPage), typeof(ItemDetailPage));
|
|||
|
Routing.RegisterRoute(nameof(NewItemPage), typeof(NewItemPage));
|
|||
|
}
|
|||
|
|
|||
|
private async void OnMenuItemClicked(object sender, EventArgs e)
|
|||
|
{
|
|||
|
await Shell.Current.GoToAsync("//LoginPage");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|