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.

34 lines
776 B

using CanYouBuildIt.Model;
using System.Diagnostics;
namespace CanYouBuildIt.Views;
public partial class Acceuil : ContentPage
{
public Manager manager=> (App.Current as App).manager;
public Acceuil()
{
InitializeComponent();
}
private void AddUtilisater(object sender, EventArgs e)
{
Utilisateur utilisateur = new Utilisateur("Util1","pdm1");
Debug.WriteLine("Utilisateur créé");
}
private async void NavFav(object sender, EventArgs e)
{
await Navigation.PushAsync(new Favoris());
}
private async void NavCreds(object sender, EventArgs e)
{
await Navigation.PushAsync(new Credits());
}
private void ToQuit(object sender, EventArgs e)
{
App.Current.Quit();
}
}