client/src/Iri.Modernisation/MainPage.xaml.cs
changeset 36 b6df6fce6e5d
parent 27 f292db96b050
equal deleted inserted replaced
35:43bb1b8ed555 36:b6df6fce6e5d
    28             FactoryVideoLivre.Initialize();
    28             FactoryVideoLivre.Initialize();
    29            // FactoryVideoLivre.xmlClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(xmlClient_DownloadStringCompleted);
    29            // FactoryVideoLivre.xmlClient.DownloadStringCompleted += new DownloadStringCompletedEventHandler(xmlClient_DownloadStringCompleted);
    30             FactoryVideoLivre.Load("ProjectConfig.xml");
    30             FactoryVideoLivre.Load("ProjectConfig.xml");
    31             InitializeComponent();
    31             InitializeComponent();
    32 
    32 
    33             MainElement.DataContext = new MainVM(new List<VideoBook>());
    33             MainElement.DataContext = new MainVM();
    34         }
    34         }
    35 
    35 
    36         void xmlClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
    36         void xmlClient_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
    37         {
    37         {
    38             if (e.Error == null)
    38             if (e.Error == null)