ProjetThe/ProjetTheAlone/View/FicRepasEncode.xaml

52 lines
2.9 KiB
Plaintext
Raw Normal View History

2019-01-19 11:04:17 +01:00
<Window x:Class="ProjetTheAlone.View.FicRepasEncode"
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="FicRepas" Height="491.666" Width="1137.834" WindowStartupLocation="CenterScreen" WindowStyle="None">
<Grid>
2019-01-19 22:29:09 +01:00
<Button x:Name="btnQuitter" Margin="974,414,29,25"
Content="Quitter" RenderTransformOrigin="0.017,0.519" Click="btnQuitter_Click" Height="Auto"/>
2019-01-20 11:46:45 +01:00
<StackPanel Margin="574,117,414,202">
2019-01-19 22:29:09 +01:00
<Label Content="Type de plat" FontFamily="Calibri" FontSize="16" Height="40"/>
<CheckBox Name="CheckSoupe" Content="Soupe" FontFamily="Calibri" FontSize="14" Height="40" Checked="CheckSoupe_Checked"/>
<CheckBox Name="CheckPlatP" Content="Plat principal" FontFamily="Calibri" FontSize="14" Height="40" Checked="CheckPlatP_Checked"/>
<CheckBox Name="CheckDessert" Content="Dessert" FontFamily="Calibri" FontSize="14" Height="40" Checked="CheckDessert_Checked"/>
</StackPanel>
<Calendar HorizontalAlignment="Left" Margin="51,103,0,0" VerticalAlignment="Top"/>
2019-01-20 11:46:45 +01:00
<ListView x:Name="lvPlat" Margin="382,107,579,215">
2019-01-19 11:04:17 +01:00
<ListView.View>
<GridView>
<GridViewColumn Width="160" Header="Plats"/>
</GridView>
</ListView.View>
</ListView>
2019-01-19 22:29:09 +01:00
<Label Content="Repas" HorizontalAlignment="Left" Margin="51,30,0,0" VerticalAlignment="Top" FontFamily="Calibri" FontSize="20"/>
2019-01-20 11:46:45 +01:00
<Button x:Name="btnPlat" Margin="382,309,566,126"
Content="Nouveau Plat" Click="btnPlat_Click" Height="Auto"/>
<ListView x:Name="lvRepas" Margin="734,107,29,126">
<ListView.View>
<GridView>
<GridViewColumn Width="120" Header="Soupe"/>
<GridViewColumn Width="120" Header="Plat"/>
<GridViewColumn Width="120" Header="Dessert"/>
</GridView>
</ListView.View>
</ListView>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="687,304,29,82" Width="414">
<Button x:Name="bAjouter" Content="Ajouter Repas" Margin="3" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
Command="{Binding cAjouter}" />
<Button x:Name="bModifier" Content="Modifier Repas" Margin="3" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
Command="{Binding cModifier}" />
<Button x:Name="bSupprimer" Content="Supprimer Repas" Margin="3" IsEnabled="{Binding ActiverBcpFiche, Mode=OneWay}"
Command="{Binding cSupprimer}" />
</StackPanel>
2019-01-19 11:04:17 +01:00
</Grid>
</Window>