You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ConsEco/Code/IHM/MainWindow.xaml

39 lines
1.7 KiB

<Window x:Class="IHM.MainWindow"
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:IHM"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid Background="{StaticResource CouleurPrincipale}">
<Grid.RowDefinitions>
<RowDefinition Height="0.25*"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.25*"/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Image Source="images/logo.png" Margin="10" Grid.Column="0" Grid.Row="0"/>
<StackPanel Grid.Column="0" Grid.Row="1">
<Button Content="Tableau de bord" Style="{StaticResource BoutonMain}"/>
<Button Content="Tableau de bord" Style="{StaticResource BoutonMain}"/>
<Button Content="Tableau de bord" Style="{StaticResource BoutonMain}"/>
<Button Content="Tableau de bord" Style="{StaticResource BoutonMain}"/>
<Button Content="Tableau de bord" Style="{StaticResource BoutonMain}"/>
</StackPanel>
<ContentControl x:Name="contentControl"
DataContext="{Binding Nav}"
Content="{Binding SelectedUserControlCreator.Value,Converter={StaticResource Func2WpConv}}"
Grid.Column="1" Grid.Row="1"/>
</Grid>
</Window>