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

21 lines
522 B

using Model.Stub;
using Model;
using Plugin.Maui.Audio;
namespace Ohara;
public partial class PageIle : ContentPage
{
public Manager manager => (App.Current as App).manager;
public PageIle()
{
InitializeComponent();
listeIle.ItemsSource = manager.GetIles();
}
async void listeIle_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
manager.SelectedItem=(Ile)listeIle.SelectedItem;
await Navigation.PushAsync(new PageInfoIle());
}
}