equal
deleted
inserted
replaced
289 } |
289 } |
290 } |
290 } |
291 void TimeChange_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
291 void TimeChange_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) |
292 { |
292 { |
293 // Position = ((Slider)e.Parameter).Value; |
293 // Position = ((Slider)e.Parameter).Value; |
294 // Commands.VideoViewer.Pause.Execute(); |
294 // Commands.VideoViewer.Pause.Execute(); |
295 |
295 if(e.Source == this) |
296 ViewModelVideoViewer.GoTo(TimeSpan.FromMilliseconds(((Slider)e.Parameter).Value)); |
296 { |
|
297 ViewModelVideoViewer.GoTo(TimeSpan.FromMilliseconds(((double)e.Parameter))); |
|
298 } |
297 //Commands.GoToTime.Execute(((Slider)e.Parameter).Value); |
299 //Commands.GoToTime.Execute(((Slider)e.Parameter).Value); |
298 |
300 |
299 // Commands.VideoViewer.Play.Execute(); |
301 // Commands.VideoViewer.Play.Execute(); |
300 } |
302 } |
301 |
303 |