62 lines
3.5 KiB
XML
62 lines
3.5 KiB
XML
<Window x:Class="ISET2018_WPF.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:ISET2018_WPF"
|
|
mc:Ignorable="d"
|
|
Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="75" />
|
|
<RowDefinition Height="95" />
|
|
<RowDefinition Height="5" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="150" />
|
|
<ColumnDefinition Width="150" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Text="Bonjour à tous" Height="30" Margin="5" VerticalAlignment="Top" HorizontalAlignment="Center" Name="tbBonjour"
|
|
FontFamily="Comic Sans MS" FontSize="18" Foreground="Red">
|
|
<TextBlock.Effect >
|
|
<DropShadowEffect Color="Blue" />
|
|
</TextBlock.Effect>
|
|
</TextBlock>
|
|
<Button Content="C L I C" Grid.Column="1" Width="75" Height="25" VerticalAlignment="Top" Margin="10" Name="btnClic" Click="btnClic_Click"/>
|
|
<Image Grid.Row="1"
|
|
Width="100" Height="70" Stretch="Uniform" Name="ImgYeti" Source="pack://siteoforigin:,,,/Resources/IMG_20180804_110221_146.jpg">
|
|
<Image.RenderTransform>
|
|
<RotateTransform Angle="0" CenterX="50" CenterY="35"/>
|
|
</Image.RenderTransform>
|
|
</Image>
|
|
<Rectangle Grid.Row="1" Grid.Column="1" Width="100" Height="80" Fill="BlueViolet"
|
|
Stroke="Cyan" StrokeThickness="10" RadiusX="25" RadiusY="15"/>
|
|
<Ellipse Grid.Row="1" Grid.Column="1" Width="120" Height="30" Fill="Olive"
|
|
Stroke="Orange" StrokeThickness="3" Opacity="0.7" Panel.ZIndex="2"/>
|
|
<Polygon Grid.Row="1" Grid.Column="1" Points="10,15,140,15,75,80" Fill="Orange"
|
|
Opacity="0.4" />
|
|
<Button Grid.RowSpan="2" Grid.Column="2" Background="Fuchsia" Name="btnSsBouton" Margin="0,20,10,0" Click="btnSsBouton_Click">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock Foreground="Brown" Background="White" FontSize="16" HorizontalAlignment="Center">!!!ORIGINAL!!!</TextBlock>
|
|
<Image Source="pack://siteoforigin:,,,/Resources/IMG_20180804_132307_561.jpg" Stretch="UniformToFill" Height="71" Width="169" />
|
|
<Button Name="BtnSrBtn" Content="P'tit Bouton" Click="btnSsBouton_Click" />
|
|
</StackPanel>
|
|
</Button>
|
|
<ListBox Name="lbQualite" Grid.Row="3" Grid.Column="1" Width="120" SelectionChanged="lbQualite_SelectionChanged">
|
|
<ListBoxItem>Mademoiselle</ListBoxItem>
|
|
<ListBoxItem>Madame</ListBoxItem>
|
|
<ListBoxItem>Mondamoiseau</ListBoxItem>
|
|
<ListBoxItem>Monsieur</ListBoxItem>
|
|
<ListBoxItem>Indéfini</ListBoxItem>
|
|
</ListBox>
|
|
<StackPanel Orientation="Vertical" Grid.Row="3" Grid.Column="3">
|
|
<Button Name="btnFen1" Content="Fenetre 1" Margin="5" Click="btnFen_Click"/>
|
|
<Button Name="btnFen2" Content="Fenetre 2" Margin="5" Click="btnFen_Click"/>
|
|
<Button Name="btnFen3" Content="Fenetre 3" Margin="5" Click="btnFen_Click"/>
|
|
|
|
</StackPanel>
|
|
</Grid>
|
|
</Window>
|