De but de la mainWindow
continuous-integration/drone/push Build is passing Details

Navigator
Hugo LIVET 2 years ago
parent 2935b453de
commit bcad634816

@ -11,8 +11,10 @@
<Style x:Key="TextBlockRessource" TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property=""
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<SolidColorBrush x:Key="CouleurPrincipale" Color="Black"/>
</Application.Resources>
</Application>

@ -7,4 +7,14 @@
<UseWPF>true</UseWPF>
</PropertyGroup>
<ItemGroup>
<None Remove="images\logo.png" />
</ItemGroup>
<ItemGroup>
<Content Include="images\logo.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>

@ -6,7 +6,23 @@
xmlns:local="clr-namespace:IHM"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<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"/>
</StackPanel>
</Grid>
</Window>

@ -7,7 +7,7 @@
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<DockPanel Background="#F2C98C">
<Border DockPanel.Dock="Top" Style="{StaticResource BorderRessource} ">
<Border DockPanel.Dock="Top" Style="{StaticResource BorderRessource}">
<Border.Background>White</Border.Background>
<TextBlock Text="Login"/>
</Border>

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Loading…
Cancel
Save