client/src/Iri.Modernisation.Controls/ViewModel/BookTimeLine/BookTimeLineVM.cs
changeset 42 594fdedecf7f
parent 38 bd33267300aa
equal deleted inserted replaced
41:b51a10574e7f 42:594fdedecf7f
   190             _totalDuration = bookParam.Duration;
   190             _totalDuration = bookParam.Duration;
   191             _segmentIndex = new List<SegmentIndex>[bookParam.Chapters.Length];
   191             _segmentIndex = new List<SegmentIndex>[bookParam.Chapters.Length];
   192             _annotations = new List<Annotation>[bookParam.Chapters.Length];
   192             _annotations = new List<Annotation>[bookParam.Chapters.Length];
   193             LoadElements();
   193             LoadElements();
   194             Commands.TimeChange.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(TimeChange_Executed);
   194             Commands.TimeChange.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(TimeChange_Executed);
   195             Commands.BookTimeLine.SaveAnnotations.Executed += new EventHandler<SLExtensions.Input.ExecutedEventArgs>(SaveAnnotations_Executed);
   195             
   196 
   196 
   197         }
   197         }
   198 
   198 
   199         void SaveAnnotations_Executed(object sender, SLExtensions.Input.ExecutedEventArgs e)
   199       
   200         {
       
   201          
       
   202         }
       
   203         private double _scaleValue;
   200         private double _scaleValue;
   204         public double ScaleValue
   201         public double ScaleValue
   205         {
   202         {
   206             get
   203             get
   207             {
   204             {