equal
deleted
inserted
replaced
19 { |
19 { |
20 public partial class MainPage : UserControl |
20 public partial class MainPage : UserControl |
21 { |
21 { |
22 public MainPage() |
22 public MainPage() |
23 { |
23 { |
|
24 Commands.Initialize(); |
24 InitializeComponent(); |
25 InitializeComponent(); |
25 List<VideoBook> SelectedVideoBooks = new List<VideoBook>(); |
26 List<VideoBook> SelectedVideoBooks = new List<VideoBook>(); |
26 /*************** Content Demo ***************/ |
27 /*************** Content Demo ***************/ |
27 /* Pour pouvoir tester avec des vidéos : |
28 /* Pour pouvoir tester avec des vidéos : |
28 * - Placer les video dans le dossier Bin |
29 * - Placer les video dans le dossier Bin |
45 SelectedVideoBooks.Add(new LDTFileReader("Content/ENMI08-III_elizabethrosse-psychologie_et_reseaux_sociaux-jauffret.ldt").VideoBook); |
46 SelectedVideoBooks.Add(new LDTFileReader("Content/ENMI08-III_elizabethrosse-psychologie_et_reseaux_sociaux-jauffret.ldt").VideoBook); |
46 // SelectedVideoBooks.Add(new LDTFileReader("Content/ENMI08-IV-dominiquepasquier-jauffret.ldt").VideoBook); |
47 // SelectedVideoBooks.Add(new LDTFileReader("Content/ENMI08-IV-dominiquepasquier-jauffret.ldt").VideoBook); |
47 /********************************************/ |
48 /********************************************/ |
48 |
49 |
49 /*************** Initialisation des commandes ***************/ |
50 /*************** Initialisation des commandes ***************/ |
50 Commands.Initialize(); |
51 |
51 // Commands.FlipView.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(FlipView_Executed); |
52 // Commands.FlipView.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(FlipView_Executed); |
52 /********************************************/ |
53 /********************************************/ |
53 MainElement.DataContext = new MainVM(SelectedVideoBooks); |
54 MainElement.DataContext = new MainVM(SelectedVideoBooks); |
54 /*************** Initialisation des Component ************** |
55 /*************** Initialisation des Component ************** |
55 InitializeComponent(); |
56 InitializeComponent(); |