C#
parent
799ebeec21
commit
98001a4f60
@ -0,0 +1,29 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="ParionsCuite.Views.Pari.InfoPAri">
|
||||||
|
<VerticalStackLayout>
|
||||||
|
<!--P1 vs P2-->
|
||||||
|
<Grid ColumnDefinitions="2*,*,2*,2*,*,2*">
|
||||||
|
<Button Text="Parieur 1" Margin="40,0,0,0"/>
|
||||||
|
<Button Text="+" Grid.Column="1"/>
|
||||||
|
<Label Text="Contre" Grid.Column="2" HorizontalOptions="Center" FontAttributes="Bold" FontSize="Title"/>
|
||||||
|
<Button Text="Parieur 2" Grid.Column="3" />
|
||||||
|
<Button Text="+" Grid.Column="4"/>
|
||||||
|
<Button Text="Supprimer Pari" Grid.Column="5" Margin="50,0,0,0"/>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<!--Info Pari-->
|
||||||
|
<TableView RowHeight="70" Margin="30,0,0,0" HorizontalOptions="Start" WidthRequest="1000">
|
||||||
|
<TableRoot>
|
||||||
|
<TableSection>
|
||||||
|
<EntryCell Label="But du Pari"/>
|
||||||
|
<EntryCell Label="Enjeux du Pari"/>
|
||||||
|
<SwitchCell Text="Pari terminé" On="False" />
|
||||||
|
<SwitchCell Text="Joueur(s) 1 gagnant" On="True" />
|
||||||
|
<SwitchCell Text="Joueur(s) 2 gagnant" On="True" />
|
||||||
|
</TableSection>
|
||||||
|
</TableRoot>
|
||||||
|
</TableView>
|
||||||
|
</VerticalStackLayout>
|
||||||
|
</ContentView>
|
@ -0,0 +1,9 @@
|
|||||||
|
namespace ParionsCuite.Views.Pari;
|
||||||
|
|
||||||
|
public partial class InfoPAri : ContentView
|
||||||
|
{
|
||||||
|
public InfoPAri()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
@ -1,37 +1,23 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
x:Class="ParionsCuite.Views.Pari.Parier">
|
x:Class="ParionsCuite.Views.Pari.Parier"
|
||||||
|
xmlns:AjoutINfo="clr-namespace:ParionsCuite.Views.Pari">
|
||||||
<VerticalStackLayout>
|
<VerticalStackLayout>
|
||||||
|
|
||||||
|
|
||||||
<!--Grid Pari-->
|
<!--Grid Pari-->
|
||||||
<Grid ColumnDefinitions="*,*,*,*" x:Name="GridPari">
|
<Grid ColumnDefinitions="auto" x:Name="GridPari">
|
||||||
<Button Text="Ajouter Pari" Grid.Column="1" Clicked="AjoutPariView"/>
|
<Button Text="Ajouter Pari" Grid.Column="1" Clicked="SwitchView"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<!--P1 vs P2-->
|
<Grid Grid.Row="1">
|
||||||
<Grid ColumnDefinitions="2*,*,2*,2*,*,2*">
|
<Grid.RowDefinitions>
|
||||||
<Button Text="Parieur 1" Margin="40,0,0,0"/>
|
<RowDefinition/>
|
||||||
<Button Text="+" Grid.Column="1"/>
|
</Grid.RowDefinitions>
|
||||||
<Label Text="Contre" Grid.Column="2" HorizontalOptions="Center" FontAttributes="Bold" FontSize="Title"/>
|
<ContentView x:Name="changeButton" >
|
||||||
<Button Text="Parieur 2" Grid.Column="3" />
|
</ContentView>
|
||||||
<Button Text="+" Grid.Column="4"/>
|
|
||||||
<Button Text="Supprimer Pari" Grid.Column="5" Margin="50,0,0,0"/>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<!--Info Pari-->
|
|
||||||
<TableView RowHeight="70" Margin="30,0,0,0" HorizontalOptions="Start" WidthRequest="1000">
|
|
||||||
<TableRoot>
|
|
||||||
<TableSection>
|
|
||||||
<EntryCell Label="But du Pari"/>
|
|
||||||
<EntryCell Label="Enjeux du Pari"/>
|
|
||||||
<SwitchCell Text="Pari terminé" On="False" />
|
|
||||||
<SwitchCell Text="Joueur(s) 1 gagnant" On="True" />
|
|
||||||
<SwitchCell Text="Joueur(s) 2 gagnant" On="True" />
|
|
||||||
</TableSection>
|
|
||||||
</TableRoot>
|
|
||||||
</TableView>
|
|
||||||
|
|
||||||
</VerticalStackLayout>
|
</VerticalStackLayout>
|
||||||
</ContentView>
|
</ContentView>
|
||||||
|
Loading…
Reference in new issue