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

28 lines
607 B

namespace Ohara;
using Model.Classes;
using Model.Managers;
using Model.Stub;
using Plugin.Maui.Audio;
public partial class PagePersonnage : ContentPage
{
public Manager manager => (App.Current as App).manager;
public PagePersonnage()
{
InitializeComponent();
BindingContext = manager;
}
void listePerso_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
manager.SelectedItem = (Personnage)listePerso.SelectedItem;
Navigation.PushAsync(new PageInfoPersonnage());
}
}