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.
22 lines
519 B
22 lines
519 B
using Model.Stub;
|
|
using Model;
|
|
using Plugin.Maui.Audio;
|
|
|
|
namespace Ohara;
|
|
|
|
public partial class PageBateau : ContentPage
|
|
{
|
|
public Manager manager => (App.Current as App).manager;
|
|
|
|
public PageBateau()
|
|
{
|
|
InitializeComponent();
|
|
listeBateau.ItemsSource = manager.GetBateaux();
|
|
|
|
}
|
|
|
|
async void listeBateau_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
{
|
|
await Navigation.PushAsync(new PageInfoBateau((Bateau)listeBateau.SelectedItem));
|
|
}
|
|
} |