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

21 lines
550 B

namespace Ohara;
using Model;
using Model.Stub;
using Plugin.Maui.Audio;
public partial class PageEquipage : ContentPage
{
public Manager manager => (App.Current as App).manager;
public PageEquipage()
{
InitializeComponent();
listeEquip.ItemsSource = manager.GetEquipages();
}
async void listeEquip_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
manager.SelectedItem=(Equipage)listeEquip.SelectedItem;
await Navigation.PushAsync(new PageInfoEquipage());
}
}