|
|
|
@ -8,101 +8,92 @@
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
x:Class="TheGameExtreme.view.MainPage">
|
|
|
|
|
|
|
|
|
|
<StackLayout
|
|
|
|
|
Margin="5,5,5,5">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
|
|
|
|
|
<StackLayout>
|
|
|
|
|
<ImageButton Source="ArrowSettingsBack.png"
|
|
|
|
|
VerticalOptions="Start"
|
|
|
|
|
HorizontalOptions="StartAndExpand"
|
|
|
|
|
HeightRequest="40"
|
|
|
|
|
WidthRequest="50"
|
|
|
|
|
Clicked="Back"
|
|
|
|
|
BackgroundColor="Transparent"
|
|
|
|
|
Margin="10,0,0,0"/>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
|
|
|
|
|
<StackLayout>
|
|
|
|
|
|
|
|
|
|
<StackLayout>
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical"
|
|
|
|
|
Margin="10,20,10,20">
|
|
|
|
|
<Label x:Name="pseudo" Text="Pseudo" />
|
|
|
|
|
<Label Text="Selectionner la pile sur laquel vous souhaitez poser la carte:" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical"
|
|
|
|
|
Margin="10,20,10,20">
|
|
|
|
|
<Label x:Name="pseudo" Text="Pseudo" />
|
|
|
|
|
<Label Text="Selectionner la pile sur laquel vous souhaitez poser la carte:" />
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Margin="0,0,0,40">
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Margin="0,0,0,40">
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile0" Text="1" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox0" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Ascendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile0" Text="1" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile1" Text="1" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox1" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Ascendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox0" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Ascendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile1" Text="1" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile2" Text="100" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox2" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Descendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox1" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Ascendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile2" Text="100" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile3" Text="100" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox3" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Descendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox2" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Descendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<Label Text="Veuillez selectionner une carte à placer:" />
|
|
|
|
|
<ScrollView
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Padding="0,5,0,5">
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Vertical">
|
|
|
|
|
<Label HorizontalTextAlignment="Center" x:Name="pile3" Text="100" />
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
x:Name="Hand">
|
|
|
|
|
<Button x:Name="card1" Clicked="played" />
|
|
|
|
|
<Button x:Name="card2" Clicked="played" />
|
|
|
|
|
<Button x:Name="card3" Clicked="played" />
|
|
|
|
|
<Button x:Name="card4" Clicked="played" />
|
|
|
|
|
<Button x:Name="card5" Clicked="played" />
|
|
|
|
|
<Button x:Name="card6" Clicked="played" />
|
|
|
|
|
<Button x:Name="card7" Clicked="played" />
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
<CheckBox x:Name="checkbox3" CheckedChanged="radioButton" />
|
|
|
|
|
<Label VerticalTextAlignment="Center" Text="Pile Descendante" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<StackLayout
|
|
|
|
|
x:Name="botPanel"
|
|
|
|
|
Orientation="Vertical"
|
|
|
|
|
Margin="20">
|
|
|
|
|
<Button Text="End Turn" Clicked="endTurn" />
|
|
|
|
|
<Label x:Name="Alert" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<Label Text="Veuillez selectionner une carte à placer:" />
|
|
|
|
|
<ScrollView
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
Padding="0,5,0,5">
|
|
|
|
|
<StackLayout
|
|
|
|
|
Orientation="Horizontal"
|
|
|
|
|
x:Name="Hand">
|
|
|
|
|
<Button x:Name="card1" Clicked="played" />
|
|
|
|
|
<Button x:Name="card2" Clicked="played" />
|
|
|
|
|
<Button x:Name="card3" Clicked="played" />
|
|
|
|
|
<Button x:Name="card4" Clicked="played" />
|
|
|
|
|
<Button x:Name="card5" Clicked="played" />
|
|
|
|
|
<Button x:Name="card6" Clicked="played" />
|
|
|
|
|
<Button x:Name="card7" Clicked="played" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</ScrollView>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
<StackLayout
|
|
|
|
|
x:Name="botPanel"
|
|
|
|
|
Orientation="Vertical"
|
|
|
|
|
Margin="20">
|
|
|
|
|
<Button Text="End Turn" Clicked="endTurn" />
|
|
|
|
|
<Label x:Name="Alert" />
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
</StackLayout>
|
|
|
|
|
</StackLayout>
|
|
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
</ContentPage>
|