33 lines
2.6 KiB
XML
33 lines
2.6 KiB
XML
<Window x:Class="ProjetTheAlone.View.FicClassement"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:local="clr-namespace:ProjetTheAlone.View"
|
|
mc:Ignorable="d"
|
|
Title="Classement" Height="517.897" Width="638.259" WindowStartupLocation="CenterScreen" WindowStyle="None">
|
|
<Grid Margin="0,0,2,2">
|
|
<Label Content="Classement" HorizontalAlignment="Left" Margin="24,15,0,0" VerticalAlignment="Top" FontFamily="Calibri" FontSize="20" Width="115" Height="34"/>
|
|
|
|
<Button x:Name="btnQuitter"
|
|
Content="Quitter" Click="btnQuitter_Click" Height="41" Margin="494,436,28,31" RenderTransformOrigin="1.189,1.927"/>
|
|
<DataGrid x:Name="dgEquipes" ItemsSource="{Binding BcpEquipes}" VerticalScrollBarVisibility="Visible"
|
|
IsReadOnly="True" AutoGenerateColumns="False"
|
|
SelectedItem="{Binding EquipeSelectionnee, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="51,71,295,112" >
|
|
<DataGrid.Columns>
|
|
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_equipe}" />
|
|
<DataGridTextColumn Header="Nom d'équipe" Binding="{Binding E_nom}" Width="*" />
|
|
<DataGridTextColumn Header="Points" Binding="{Binding E_point}" Width="*" />
|
|
</DataGrid.Columns>
|
|
</DataGrid>
|
|
<Button x:Name="btnModifScore"
|
|
Content="Modifier le score" Command="{Binding cModifierPoint}" Height="Auto" Margin="389,231,48,227" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}" RenderTransformOrigin="1.189,1.927"/>
|
|
<TextBox HorizontalAlignment="Left" Height="23" Margin="513,138,0,0" Text="{Binding UneEquipe.Point}" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}" TextWrapping="Wrap" VerticalAlignment="Top" Width="67"/>
|
|
<Label Content="Score de l'équipe" HorizontalAlignment="Left" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}" Margin="389,135,0,0" VerticalAlignment="Top" Width="119"/>
|
|
<Button x:Name="btnValider"
|
|
Content="Valider" Command="{Binding cConfirmer}" Height="Auto" Margin="389,179,146,293" RenderTransformOrigin="1.189,1.927" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}"/>
|
|
<Button x:Name="btnAnnuler"
|
|
Content="Annuler" Command="{Binding cAnnuler}" Height="Auto" Margin="487,179,48,293" RenderTransformOrigin="1.189,1.927" IsEnabled="{Binding ActiverUneFiche, Mode=OneWay}"/>
|
|
</Grid>
|
|
</Window>
|