--- a/client/src/Iri.Modernisation/MainPage.xaml.cs Tue Dec 22 16:22:22 2009 +0100
+++ b/client/src/Iri.Modernisation/MainPage.xaml.cs Mon Jan 04 10:29:39 2010 +0100
@@ -25,10 +25,24 @@
public MainPage()
{
Commands.Initialize();
+ FactoryVideoLivre.Initialize();
+ // FactoryVideoLivre.xmlClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(xmlClient_DownloadStringCompleted);
+ FactoryVideoLivre.Load("ProjectConfig.xml");
InitializeComponent();
-
- MainElement.DataContext = new MainVM(new List<VideoBook>());
-
+
+ MainElement.DataContext = new MainVM(new List<VideoBook>());
+ }
+
+ void xmlClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
+ {
+ if (e.Error == null)
+ {
+
+ }
+ else
+ {
+ MessageBox.Show(e.Error.InnerException.Message);
+ }
}