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.
61 lines
3.8 KiB
61 lines
3.8 KiB
<Window x:Class="WpfApp1.AddAShark"
|
|
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:WpfApp1"
|
|
mc:Ignorable="d"
|
|
Title="AddAShark" Height="450" Width="800">
|
|
<DockPanel>
|
|
<DockPanel x:Name="Button" DockPanel.Dock="Top">
|
|
<TextBlock Text="ADD A SHARK" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="20" FontSize="30" FontWeight="Bold" FontFamily="Candara Light" Foreground="{StaticResource Couleur2}"/>
|
|
<Button x:Name="add" Style="{StaticResource Button1}" HorizontalAlignment="Right" VerticalAlignment="Center" Content="x" Width="50" Height="50" FontSize="25"></Button>
|
|
</DockPanel>
|
|
<DockPanel Background="{StaticResource Couleur1}">
|
|
<TextBlock DockPanel.Dock="Top" Text="Shark information :" Margin="15" FontSize="18" Foreground="{StaticResource Couleur3}"/>
|
|
<Grid Width="800">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<local:UserControlBoite Grid.Column="0" Grid.Row="0" Message="Nom"/>
|
|
<local:UserControlBoite Grid.Column="0" Grid.Row="1" Message="Nom scientifique"/>
|
|
<local:UserControlBoite Grid.Column="0" Grid.Row="2" Message="Lien de la photo"/>
|
|
<local:UserControlBoite Grid.Column="0" Grid.Row="3" Message="Lien de la vidéo"/>
|
|
<local:UserControlBoite Grid.Column="1" Grid.Row="0" Message="Lien de la map"/>
|
|
<local:UserControlBoite Grid.Column="1" Grid.Row="1" Message="Fun fact (optionnel)"/>
|
|
<Grid Grid.Column="1" Grid.Row="2" ShowGridLines="True" Width="320" Height="19" VerticalAlignment="Top" Background="{StaticResource Couleur2}">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Zone(s) d'habitation" HorizontalAlignment="Center" Grid.Row="0" Foreground="{StaticResource Couleur3}"/>
|
|
</Grid>
|
|
<Grid Grid.Column="1" Grid.Row="2" Margin="0,19,0,0" Width="320" Background="White">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<CheckBox Content="Océan Atlantique" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Left" Margin="40,0,0,0"/>
|
|
<CheckBox Content="Océan Arctique" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" Margin="0,0,20,0"/>
|
|
<CheckBox Content="Océan Indien" Grid.Column="0" Grid.Row="2" HorizontalAlignment="Left" Margin="40,0,0,0"/>
|
|
<CheckBox Content="Océan Pacifique" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" Margin="0,0,20,0"/>
|
|
</Grid>
|
|
|
|
<local:UserControlBoite Grid.Column="1" Grid.Row="3"/>
|
|
<Button Style="{StaticResource Button1}" Grid.Column="1" Grid.Row="5" Content="Submit" Margin="15" Width="100"/>
|
|
</Grid>
|
|
</DockPanel>
|
|
</DockPanel>
|
|
</Window>
|