diff -r 581829b5ddd9 -r b51a10574e7f client/src/Iri.Modernisation.Controls/ViewModel/ConsultationView/ConsultationViewVM.cs --- a/client/src/Iri.Modernisation.Controls/ViewModel/ConsultationView/ConsultationViewVM.cs Wed Feb 10 14:09:58 2010 +0100 +++ b/client/src/Iri.Modernisation.Controls/ViewModel/ConsultationView/ConsultationViewVM.cs Wed Feb 10 14:56:46 2010 +0100 @@ -120,6 +120,17 @@ Commands.ConsultMenu.ClickBook.Executed += new EventHandler(ClickBook_Executed); Commands.PolemicElement.SelectPolemicElement.Executed += new EventHandler(SelectPolemicElement_Executed); Commands.AnnotationMaker.NewAnnotationFinished.Executed += new EventHandler(NewAnnotationFinished_Executed); + Commands.BookTimeLine.LeftClickOnElement.Executed += new EventHandler(LeftClickOnElement_Executed); + } + + void LeftClickOnElement_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e) + { + TimeSpan TimeToGo = (TimeSpan)e.Parameter; + PolemicElementVM ClickedElement = (PolemicElementVM)e.Source; + if(ConsultationBookViewContextMenu.SelectedBook == ClickedElement.Chapter.Book) + { + ConsultationBookViewContextMenu.ActualVideoSourceVM.GoTo(TimeToGo); + } } void NewAnnotationFinished_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)