Navigation fonctionnel dans toute l'application
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
eb91d4d278
commit
57f20e57b2
@ -1,9 +1,17 @@
|
|||||||
|
using CoreLibrary.Events;
|
||||||
|
using CoreLibrary;
|
||||||
|
|
||||||
namespace MauiSpark.Pages;
|
namespace MauiSpark.Pages;
|
||||||
|
|
||||||
public partial class Egalite : ContentPage
|
public partial class Egalite : ContentPage
|
||||||
{
|
{
|
||||||
public Egalite()
|
public Egalite(Partie p, PartieTermineeEventArgs e)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
BindingContext = $"Les deux joueurs, {e.Gagnants.First().Nom} et {e.Gagnants.Last().Nom} ont trouvé le code secret"; ;
|
||||||
}
|
}
|
||||||
|
private void QuandButtonMenuCliquer(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Navigation.PushAsync(new Mode());
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in new issue