equal
deleted
inserted
replaced
8 using System.Windows.Input; |
8 using System.Windows.Input; |
9 using System.Windows.Media; |
9 using System.Windows.Media; |
10 using System.Windows.Media.Animation; |
10 using System.Windows.Media.Animation; |
11 using System.Windows.Shapes; |
11 using System.Windows.Shapes; |
12 |
12 |
|
13 using System.Threading; |
|
14 using System.Globalization; |
|
15 |
13 using Iri.Modernisation.Controls.ViewModel; |
16 using Iri.Modernisation.Controls.ViewModel; |
14 using Iri.Modernisation.BaseMVVM.Commands; |
17 using Iri.Modernisation.BaseMVVM.Commands; |
15 using Iri.Modernisation.Data.LDTClass; |
18 using Iri.Modernisation.Data.LDTClass; |
16 using Iri.Modernisation.Data.Models; |
19 using Iri.Modernisation.Data.Models; |
17 |
20 |
19 { |
22 { |
20 public partial class MainPage : UserControl |
23 public partial class MainPage : UserControl |
21 { |
24 { |
22 public MainPage() |
25 public MainPage() |
23 { |
26 { |
24 |
27 Commands.Initialize(); |
25 InitializeComponent(); |
28 InitializeComponent(); |
26 Start(); |
29 Start(); |
27 |
30 |
28 } |
31 } |
29 private void Start() |
32 private void Start() |
30 { |
33 { |
31 List<VideoBook> SelectedVideoBooks = new List<VideoBook>(); |
34 List<VideoBook> SelectedVideoBooks = new List<VideoBook>(); |
32 // Initialisation des commandes // |
35 // Initialisation des commandes // |
33 Commands.Initialize(); |
36 |
34 Commands.FlipView.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(FlipView_Executed); |
37 Commands.FlipView.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(FlipView_Executed); |
35 //-----------------------------------------// |
38 //-----------------------------------------// |
36 |
39 |
37 |
40 |
38 // Initialisation des Components // |
41 // Initialisation des Components // |
44 |
47 |
45 } |
48 } |
46 void FlipView_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
49 void FlipView_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
47 { |
50 { |
48 Commands.VideoViewer.Pause.Execute(); |
51 Commands.VideoViewer.Pause.Execute(); |
|
52 |
|
53 |
|
54 |
49 FlipTest.ExecuteFlip(); |
55 FlipTest.ExecuteFlip(); |
50 } |
56 } |
51 } |
57 } |
52 } |
58 } |