|
12
|
1 |
using System; |
|
|
2 |
using System.Collections.Generic; |
|
|
3 |
using System.Linq; |
|
|
4 |
using System.Net; |
|
|
5 |
using System.Windows; |
|
|
6 |
using System.Windows.Controls; |
|
|
7 |
using System.Windows.Documents; |
|
|
8 |
using System.Windows.Input; |
|
|
9 |
using System.Windows.Media; |
|
|
10 |
using System.Windows.Media.Animation; |
|
|
11 |
using System.Windows.Shapes; |
|
|
12 |
using Iri.Modernisation.BaseMVVM.Commands; |
|
|
13 |
namespace Iri.Modernisation.Controls.View |
|
|
14 |
{ |
|
|
15 |
public partial class Main : UserControl |
|
|
16 |
{ |
|
|
17 |
public Main() |
|
|
18 |
{ |
|
13
|
19 |
|
|
12
|
20 |
InitializeComponent(); |
|
|
21 |
Commands.FlipView.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(FlipView_Executed); |
|
|
22 |
|
|
|
23 |
} |
|
|
24 |
void FlipView_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
|
|
25 |
{ |
|
|
26 |
Commands.VideoViewer.Pause.Execute(); |
|
|
27 |
FlipTest.ExecuteFlip(); |
|
|
28 |
} |
|
|
29 |
} |
|
|
30 |
} |