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.
23 lines
595 B
23 lines
595 B
using Model.Stub;
|
|
using Model;
|
|
using Plugin.Maui.Audio;
|
|
using System.Windows.Input;
|
|
|
|
namespace Ohara;
|
|
|
|
public partial class PageBestiaire : ContentPage
|
|
{
|
|
public Manager manager => (App.Current as App).manager;
|
|
|
|
public PageBestiaire()
|
|
{
|
|
InitializeComponent();
|
|
listeBest.ItemsSource = manager.GetBestiaires();
|
|
}
|
|
|
|
async void listeBest_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
{
|
|
manager.SelectedItem = (Bestiaire)listeBest.SelectedItem;
|
|
await Navigation.PushAsync(new PageInfoBestiaire());
|
|
}
|
|
} |