You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MapManga/MangaMap/CustomHeader.xaml.cs

36 lines
1.1 KiB

using MangaMap.Views;
namespace MangaMap;
using MangaMap.Model;
using System.ComponentModel;
using INotifyPropertyChanged = System.ComponentModel.INotifyPropertyChanged;
public partial class NewContent1 : ContentView, INotifyPropertyChanged
{
public Manager my_manager => (App.Current as App).MyManager;
public NewContent1()
{
InitializeComponent();
}
async void ImageButton_Clicked(System.Object sender, System.EventArgs e)
{
//Navigation.PushAsync(new homePage());
await Shell.Current.GoToAsync("//page/homePage");
}
async void SettingButton_Clicked(object sender, System.EventArgs e)
{
await Shell.Current.GoToAsync("//page/secondaire/settingsPage");
}
async void AccountButton_Clicked(object sender, System.EventArgs e)
{
await Shell.Current.GoToAsync("//page/secondaire/connexionPage");
}
async void ListButton_Clicked(object sender, System.EventArgs e)
{
//await Shell.Current.GoToAsync("//page/secondaire/listPage");
await Navigation.PushAsync(new listPage());
}
}