parent
02cbd161a7
commit
b8b3153c3a
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
x:Class="MauiSpark.Pages.Defaite"
|
|
||||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
|
||||||
Title="Defaite">
|
|
||||||
<VerticalStackLayout >
|
|
||||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
|
||||||
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
|
||||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}" >
|
|
||||||
<Label Text="Defaite" Style="{StaticResource TexteTitre}"/>
|
|
||||||
</Frame>
|
|
||||||
<Image Source="defaite.png" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
|
||||||
</FlexLayout>
|
|
||||||
<Frame Margin="20">
|
|
||||||
<Label HorizontalOptions="Center" Text="{Binding}" Style="{StaticResource TexteFrame}"/>
|
|
||||||
</Frame>
|
|
||||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
|
||||||
</VerticalStackLayout>
|
|
||||||
</ContentPage>
|
|
@ -1,14 +0,0 @@
|
|||||||
using CoreLibrary;
|
|
||||||
using CoreLibrary.Events;
|
|
||||||
|
|
||||||
namespace MauiSpark.Pages;
|
|
||||||
|
|
||||||
public partial class Defaite : ContentPage
|
|
||||||
{
|
|
||||||
public Defaite(Partie p, PartieTermineeEventArgs e)
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
|
|
||||||
BindingContext = $"Aucun des deux joueurs, {e.Perdants.First().Nom} et {e.Perdants.Last().Nom} n'a trouvé le code secret";
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
x:Class="MauiSpark.Pages.Egalite"
|
|
||||||
xmlns:pages="clr-namespace:MauiSpark.Pages"
|
|
||||||
Title="Egalite">
|
|
||||||
<VerticalStackLayout>
|
|
||||||
<FlexLayout Direction="Row" JustifyContent="SpaceAround" AlignContent="Center" VerticalOptions="Center" Margin="10">
|
|
||||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100" />
|
|
||||||
<Frame HorizontalOptions="Center" VerticalOptions="Center" Style="{StaticResource FrameTitrePage}">
|
|
||||||
<Label Text="Egaliter" Style="{StaticResource TexteTitre}"/>
|
|
||||||
</Frame>
|
|
||||||
<Image Source="egaliter.jpg" MaximumHeightRequest="100" MaximumWidthRequest="100"/>
|
|
||||||
</FlexLayout>
|
|
||||||
<Frame Margin="20">
|
|
||||||
<Label HorizontalOptions="Center" Text="Les deux joueur ont trouvé en même temps" Style="{StaticResource TexteFrame}"/>
|
|
||||||
</Frame>
|
|
||||||
<Button Text="Menu" VerticalOptions="End" HorizontalOptions="Center"></Button>
|
|
||||||
</VerticalStackLayout>
|
|
||||||
</ContentPage>
|
|
@ -1,9 +0,0 @@
|
|||||||
namespace MauiSpark.Pages;
|
|
||||||
|
|
||||||
public partial class Egalite : ContentPage
|
|
||||||
{
|
|
||||||
public Egalite()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue