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/PageInfoFdd.xaml.cs

51 lines
1.4 KiB

using Model;
using Model.Stub;
namespace Ohara;
public partial class PageInfoFdd : ContentPage
{
public PageInfoFdd()
{
InitializeComponent();
List<FruitDuDemon> fdd = StubFruitDuDemon.RecupererFruit().ToList();
listObj.ItemsSource = fdd;
}
private async void Hyperlink_Accueil(object sender, EventArgs e)
{
await Navigation.PushAsync(new MainPage(new Plugin.Maui.Audio.AudioManager()));
}
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(new Plugin.Maui.Audio.AudioManager()));
}
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());
}
private async void Hyperlink_Perso(object sender, EventArgs e)
{
await Navigation.PushAsync(new PagePersonnage());
}
}