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.
Projet_IHM/Sources/Stim/MainPage.xaml.cs

27 lines
638 B

namespace Stim;
using Model;
using StimPersistance;
public partial class MainPage : ContentPage
{
public IPersistance persistance = new Persistance();
public Manager Manager;
public MainPage()
{
InitializeComponent();
Manager = new(persistance);
BindingContext = Manager;
}
private async void OnClickGameList(object sender, EventArgs e)
{
//await Navigation.PushAsync((sender as CollectionView).SelectedItem);
}
private async void goToMainPage(object sender, EventArgs e)
{
await Navigation.PushAsync(new MainPage());
}
}