--- a/client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs Mon Jan 25 09:30:22 2010 +0100
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs Wed Jan 27 10:37:39 2010 +0100
@@ -117,13 +117,12 @@
{
_playControl = playControl;
_recordControl = recordControl;
-
InitializeCommands();
AutoPlay = false;
}
-
+ public TimeSpan BeginIn { get; set; }
public event EventHandler<VideoViewerVMEventArgs> Tick;
private void InitializeCommands()
@@ -147,7 +146,7 @@
{
if(Tick!=null)
{
- Tick(this, new VideoViewerVMEventArgs(Pos));
+ Tick(this, new VideoViewerVMEventArgs(Pos-BeginIn));
}
}