ProjetThe/ProjetTheAlone/View/FicDetailEvent.xaml

46 lines
3.4 KiB
Plaintext
Raw Normal View History

2019-01-24 22:24:05 +01:00
<Window x:Class="ProjetTheAlone.View.FicDetailEvent"
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="FicDetailEvent" Height="517.897" Width="638.259" WindowStartupLocation="CenterScreen" WindowStyle="None">
<Grid Margin="0,0,2,2">
<Label Content="Détails" HorizontalAlignment="Left" Margin="24,15,0,0" VerticalAlignment="Top" FontFamily="Calibri" FontSize="20" Width="74" Height="34"/>
<Button x:Name="btnQuitter"
Content="Quitter" Click="btnQuitter_Click" Height="41" Margin="485,442,37,25" RenderTransformOrigin="1.189,1.927"/>
<Grid HorizontalAlignment="Left" Height="237" Margin="90,54,0,0" VerticalAlignment="Top" Width="450">
<Label Content="Type d'événement" HorizontalAlignment="Left" Width="120" Margin="0,0,0,202"/>
<TextBox HorizontalAlignment="Left" Height="34" TextWrapping="Wrap" VerticalAlignment="Top" Width="331" Margin="120,0,0,0"/>
<Label Content="Lieu" HorizontalAlignment="Left" Width="120" Margin="0,34,0,167"/>
<TextBox HorizontalAlignment="Left" Height="34" TextWrapping="Wrap" VerticalAlignment="Top" Width="331" Margin="120,34,0,0"/>
<Label Content="Date" HorizontalAlignment="Left" Width="120" Margin="0,73,0,128"/>
<TextBox HorizontalAlignment="Left" Height="34" TextWrapping="Wrap" VerticalAlignment="Top" Width="331" Margin="120,73,0,0"/>
<Label Content="Durée" HorizontalAlignment="Left" Width="120" Margin="0,112,0,91"/>
<TextBox HorizontalAlignment="Left" Height="34" TextWrapping="Wrap" VerticalAlignment="Top" Width="331" Margin="120,112,0,0"/>
<Label Content="Description" HorizontalAlignment="Left" Width="120" Margin="0,151,0,53"/>
<TextBox HorizontalAlignment="Left" Height="34" TextWrapping="Wrap" VerticalAlignment="Top" Width="331" Margin="120,146,0,0"/>
</Grid>
<Button x:Name="btnClassement" Margin="468,310,24,150" Content="Classement" Height="Auto" RenderTransformOrigin="-0.1,0.534" />
<DataGrid x:Name="dgEquipes" ItemsSource="{Binding BcpEquipes}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False"
SelectedItem="{Binding EquipeSelectionnee, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="56,296,386,20" >
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_equipe}" />
<DataGridTextColumn Header="Nom d'équipe" Binding="{Binding E_nom}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<DataGrid x:Name="dgJoueur" ItemsSource="{Binding BcpJoueurs}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" SelectedItem="{Binding JoueurSelectionnee, Mode=TwoWay}"
Margin="269,296,195,20">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_LP}" />
<DataGridTextColumn Header="ID du Joueur" Binding="{Binding ID_benificiaire}" Width="*" />
</DataGrid.Columns>
</DataGrid>
</Grid>
</Window>