|
0
|
1 |
using System; |
|
|
2 |
using System.Windows; |
|
|
3 |
using System.Windows.Controls; |
|
|
4 |
using System.Windows.Documents; |
|
|
5 |
using System.Windows.Ink; |
|
|
6 |
using System.Windows.Input; |
|
|
7 |
using System.Windows.Media; |
|
|
8 |
using System.Windows.Media.Animation; |
|
|
9 |
using System.Windows.Shapes; |
|
|
10 |
using Iri.Modernisation.Controls.ViewModel; |
|
|
11 |
using Iri.Modernisation.BaseMVVM.Commands; |
|
|
12 |
namespace Iri.Modernisation.Controls.View |
|
|
13 |
{ |
|
|
14 |
public partial class ConsultationBookView : UserControl |
|
|
15 |
{ |
|
|
16 |
public ConsultationBookView() |
|
|
17 |
{ |
|
|
18 |
// Required to initialize variables |
|
|
19 |
InitializeComponent(); |
|
|
20 |
// VideoViewer.DataContext = new VideoViewerVM(); |
|
|
21 |
Commands.TimeChange.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(TimeChange_Executed); |
|
|
22 |
} |
|
|
23 |
|
|
|
24 |
void TimeChange_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
|
|
25 |
{ |
|
|
26 |
// VideoViewer.ChangePosition((TimeSpan)e.Parameter); |
|
|
27 |
} |
|
|
28 |
} |
|
|
29 |
|
|
|
30 |
} |