diff -r 44a2dc869e28 -r f292db96b050 client/src/Iri.Modernisation/MainPage.xaml.cs --- 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()); - + + MainElement.DataContext = new MainVM(new List()); + } + + void xmlClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) + { + if (e.Error == null) + { + + } + else + { + MessageBox.Show(e.Error.InnerException.Message); + } }