src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs
changeset 115 1e87bcfec117
parent 99 5a49507c8159
child 124 14b058fc64fc
equal deleted inserted replaced
114:8262d9756231 115:1e87bcfec117
   194         public void addAnnotation()
   194         public void addAnnotation()
   195         {
   195         {
   196             cutvm.AnnotList.Add(new AnnotationViewModel(new Annotation(180 + (numAnnot - 6) * 20 - ((numAnnot - 1) * annotWidth), 10, numAnnot.ToString())));
   196             cutvm.AnnotList.Add(new AnnotationViewModel(new Annotation(180 + (numAnnot - 6) * 20 - ((numAnnot - 1) * annotWidth), 10, numAnnot.ToString())));
   197             tv.DataContext = null;
   197             tv.DataContext = null;
   198             tv.DataContext = cutvm;
   198             tv.DataContext = cutvm;
   199             numAnnot++;
   199             numAnnot++; 
   200         }
   200         }
   201 
   201 
   202 	}
   202 	}
   203 }
   203 }