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.
Ohara_MAUI/Sources/Ohara/PagePersonnage.xaml.cs

49 lines
1.3 KiB

namespace Ohara;
using Model;
using Model.Stub;
public partial class PagePersonnage : ContentPage
{
public PagePersonnage()
{
InitializeComponent();
List<Personnage> perso = StubPersonnage.RecupererPersonnage().ToList();
listePerso.ItemsSource = perso;
}
private async void Hyperlink_Accueil(object sender, EventArgs e)
{
await Navigation.PushAsync(new MainPage());
}
private async void Hyperlink_FDD(object sender, EventArgs e)
{
await Navigation.PushAsync(new PageFDD());
}
private async void Hyperlink_Equip(object sender, EventArgs e)
{
await Navigation.PushAsync(new PageEquipage());
}
private async void Hyperlink_Carte(object sender, EventArgs e)
{
await Navigation.PushAsync(new PageCarte());
}
private async void Hyperlink_Bateau(object sender, EventArgs e)
{
await Navigation.PushAsync(new PageBateau());
}
private async void Hyperlink_Bestiaire(object sender, EventArgs e)
{
await Navigation.PushAsync (new PageBestiaire());
}
private async void Hyperlink_Ile(object sender, EventArgs e)
{
await Navigation.PushAsync(new PageIle());
}
}