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.
25 lines
610 B
25 lines
610 B
namespace Stim;
|
|
using Model;
|
|
using StimPersistance;
|
|
using StimStub;
|
|
using Microsoft.Maui.Storage;
|
|
|
|
public partial class MainPage : ContentPage
|
|
{
|
|
public MainPage()
|
|
{
|
|
InitializeComponent();
|
|
BindingContext = ((App)App.Current).Manager;
|
|
}
|
|
|
|
private async void OnClickGameList(object sender, EventArgs e)
|
|
{
|
|
await Navigation.PushAsync(new DetailledPage((sender as CollectionView).SelectedItem as Game));
|
|
}
|
|
|
|
private async void GoToAddGamePage(object sender, EventArgs e)
|
|
{
|
|
await Navigation.PushAsync(new AddGamePage());
|
|
}
|
|
}
|