|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
StartupUri="MainWindow.xaml">
|
|
|
|
|
<Application.Resources>
|
|
|
|
|
|
|
|
|
|
<!--<conv:Func2WindowPartConverter x:Key="Func2WpConv"/>-->
|
|
|
|
|
<conv:Func2WindowPartConverter x:Key="Func2WpConv"/>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="BorderRessource" TargetType="Border">
|
|
|
|
|
<Setter Property="BorderBrush" Value="#63A4FF"/>
|
|
|
|
@ -27,18 +27,18 @@
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<Style TargetType="UserControl" x:Key="ImageFondRessource">
|
|
|
|
|
<Setter Property="Background">
|
|
|
|
|
<Setter.Value>
|
|
|
|
|
<Setter Property="Background" Value="White">
|
|
|
|
|
<!--<Setter.Value>
|
|
|
|
|
<VisualBrush>
|
|
|
|
|
<VisualBrush.Visual>
|
|
|
|
|
<Image Source="./images/fond.jpg">
|
|
|
|
|
<Image.Effect>
|
|
|
|
|
<BlurEffect Radius="10"/>
|
|
|
|
|
<BlurEffect Radius="0"/>
|
|
|
|
|
</Image.Effect>
|
|
|
|
|
</Image>
|
|
|
|
|
</VisualBrush.Visual>
|
|
|
|
|
</VisualBrush>
|
|
|
|
|
</Setter.Value>
|
|
|
|
|
</Setter.Value>-->
|
|
|
|
|
</Setter>
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
@ -113,27 +113,37 @@
|
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
<SolidColorBrush x:Key="CouleurPrincipale" Color="Blue"/>
|
|
|
|
|
<SolidColorBrush x:Key="CouleurPrincipale" Color="#23395d"/>
|
|
|
|
|
|
|
|
|
|
<Style x:Key="BoutonMain" TargetType="Button">
|
|
|
|
|
<Setter Property="Height" Value="40"/>
|
|
|
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
|
|
|
<Setter Property="Margin" Value="10,0,0,0"/>
|
|
|
|
|
<Setter Property="Padding" Value="20"/>
|
|
|
|
|
<Setter Property="Margin" Value="10,10,0,10" />
|
|
|
|
|
|
|
|
|
|
<Setter Property="Background" Value="{StaticResource CouleurPrincipale}"/>
|
|
|
|
|
<Setter Property="FontSize" Value="16"/>
|
|
|
|
|
<Setter Property="Foreground" Value="White"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Style.Resources>
|
|
|
|
|
|
|
|
|
|
<Style TargetType="Border">
|
|
|
|
|
<Setter Property="CornerRadius" Value="20,0,0,20"/>
|
|
|
|
|
</Style>
|
|
|
|
|
</Style.Resources>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Style.Triggers>
|
|
|
|
|
|
|
|
|
|
<Trigger Property="IsPressed" Value="False"><!--True pour que ca marche-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Trigger Property="IsDefault" Value="True">
|
|
|
|
|
<Setter Property="Foreground" Value="Black"/>
|
|
|
|
|
<Trigger.EnterActions>
|
|
|
|
|
<BeginStoryboard>
|
|
|
|
|
<Storyboard>
|
|
|
|
|
<ColorAnimation Storyboard.TargetProperty="(Button.Background).(SolidColorBrush.Color)" To="White"/>
|
|
|
|
|
<ColorAnimation Duration="0:0:0.5" Storyboard.TargetProperty="(Button.Background).(SolidColorBrush.Color)" To="White"/>
|
|
|
|
|
</Storyboard>
|
|
|
|
|
</BeginStoryboard>
|
|
|
|
|
</Trigger.EnterActions>
|
|
|
|
@ -141,9 +151,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Style.Triggers>
|
|
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Application.Resources>
|
|
|
|
|
</Application>
|
|
|
|
|