client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs
changeset 23 10acb6a11a73
parent 22 69a2910ec6f9
child 25 a9c815025a1b
--- a/client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs	Mon Dec 14 11:25:01 2009 +0100
+++ b/client/src/Iri.Modernisation.Controls/ViewModel/VideoViewer/VideoViewerVM.cs	Mon Dec 14 17:02:03 2009 +0100
@@ -109,7 +109,11 @@
         {
            
         }
-       
+        public void GoTo(TimeSpan pos)
+        {
+            Position = pos;
+            Commands.GoToTime.Execute(Position,this);
+        }
         public void LaunchTick(TimeSpan Pos)
         {
             if(Tick!=null)
@@ -122,7 +126,7 @@
     }
     public class VideoViewerVMEventArgs : EventArgs
     {
-         public TimeSpan Position { get; set; }
+        public TimeSpan Position { get; set; }
         public VideoViewerVMEventArgs(TimeSpan pos)
         {
             Position = pos;