Fixed| bug si on ferme un livre en le lisant
ReFixed|faire fonctionner le seek, même quand play n'est pas activer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Threading;
using System.Globalization;
using Iri.Modernisation.Controls.ViewModel;
using Iri.Modernisation.BaseMVVM.Commands;
using Iri.Modernisation.Data.LDTClass;
using Iri.Modernisation.Data.Models;
namespace Iri.Modernisation
{
public partial class MainPage : UserControl
{
public MainPage()
{
Commands.Initialize();
FactoryVideoLivre.Initialize();
// FactoryVideoLivre.xmlClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(xmlClient_DownloadStringCompleted);
FactoryVideoLivre.Load("ProjectConfig.xml");
InitializeComponent();
MainElement.DataContext = new MainVM();
}
void xmlClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{
if (e.Error == null)
{
}
else
{
MessageBox.Show(e.Error.InnerException.Message);
}
}
}
}