|
|
@ -1,33 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
using CoreLibrary.Joueurs;
|
|
|
|
|
|
|
|
using MauiSpark.Views;
|
|
|
|
using MauiSpark.Views;
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
|
|
|
namespace MauiSpark.Pages;
|
|
|
|
namespace MauiSpark.Pages;
|
|
|
|
using System.Windows;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public partial class TableauScore : ContentPage
|
|
|
|
public partial class TableauScore : ContentPage
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public TableauScore()
|
|
|
|
public TableauScore()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
NavigationPage.SetHasNavigationBar(this, false);
|
|
|
|
SetDefaultClassement();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void QuandButtonArriereClique(object sender, EventArgs e)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
Navigation.PopAsync();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
|
|
private void SetDefaultClassement()
|
|
|
|
QuandNbCoutMoyenButtonClicked(this, EventArgs.Empty);
|
|
|
|
{
|
|
|
|
|
|
|
|
CTableauScore.UpdateClassement(CTableauScore.GetClassementNbCoupParPartie);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void QuandNbCoutMoyenButtonClicked(object sender, EventArgs e)
|
|
|
|
private void QuandNbCoutMoyenButtonClicked(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
CTableauScore.UpdateClassement(CTableauScore.GetClassementNbCoupParPartie);
|
|
|
|
CTableauScore.UpdateClassement(CTableauScore.GetClassementNbCoupParPartie);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|