Fixed| bug si on ferme un livre en le lisant
ReFixed|faire fonctionner le seek, même quand play n'est pas activer
<UserControl
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"
mc:Ignorable="d"
x:Class="Iri.Modernisation.Controls.View.ConsultMenu"
xmlns:View="clr-namespace:Iri.Modernisation.Controls.View"
d:DesignWidth="184"
xmlns:Lang="clr-namespace:Iri.Modernisation.Lang;assembly=Iri.Modernisation.Lang"
xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions" Height="280"
>
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Iri.Modernisation.Styles;Component/Templates_CommonTemplate.xaml"/>
<ResourceDictionary Source="/Iri.Modernisation.Styles;Component/Templates_Binder.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Lang:LangResource x:Name="LangLabels" x:Key="LangLabels"></Lang:LangResource>
</ResourceDictionary>
</UserControl.Resources>
<StackPanel x:Name="ConsultMenuPanel">
<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="textBlock" Text="{Binding ConsultationViewTitle, Source={StaticResource LangLabels}}" TextWrapping="Wrap" />
<Grid>
<TextBox x:Name="SearchBox" Input:CommandService.CommandParameter="Test" KeyUp="SearchBox_KeyUp" Text="{Binding SearchWord, Mode=TwoWay}" TextWrapping="Wrap" Margin="0,0,67,0"/>
<!-- <Button Input:CommandService.Command="GetBook" Input:CommandService.CommandParameter="{Binding Text, ElementName=SearchWord}" Margin="113,0,0,0" Content="Search" HorizontalAlignment="Left" Width="63"/> -->
</Grid>
<StackPanel x:Name="SearchModulePanel" Height="80" Margin="0,0,8,0">
<StackPanel x:Name="SearchOptionPanel" Height="72">
<RadioButton IsChecked="{Binding SearchAuthor, Mode=TwoWay}" x:Name="AuthorCheckBox" Height="25" VerticalAlignment="Top" Content="{Binding ConsultationSearchByAuthorLabel, Source={StaticResource LangLabels}}" Foreground="White" />
<RadioButton IsChecked="{Binding SearchContributer, Mode=TwoWay}" x:Name="ContributerTextBox" Height="25" VerticalAlignment="Top" Content="{Binding ConsultationSearchByContributerLabel, Source={StaticResource LangLabels}}" Foreground="White" />
<RadioButton IsChecked="{Binding SearchTag, Mode=TwoWay}" x:Name="KeyWordCheckBox" Height="25" VerticalAlignment="Top" Content="{Binding ConsultationSearchByKeyWordsLabel, Source={StaticResource LangLabels}}" Foreground="White" />
</StackPanel>
</StackPanel>
<ListBox x:Name="ResultSearchList" Height="152" ItemsSource="{Binding VideoBooks}" Margin="0,0,8,0">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Background="Transparent" Input:CommandService.Command="ClickBook" Input:CommandService.CommandParameter="{Binding VideoBook}">
<TextBlock Text="{Binding VideoBook.Title}" />
<TextBlock Text="("/>
<TextBlock Text="{Binding DownloadState}"/>
<TextBlock Text=")"/>
<ToolTipService.ToolTip>
<TextBlock Text="{Binding VideoBook.Title}"/>
</ToolTipService.ToolTip>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</StackPanel>
</UserControl>