src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs
changeset 99 5a49507c8159
parent 75 99d003723474
child 115 1e87bcfec117
equal deleted inserted replaced
97:31b24064b28f 99:5a49507c8159
   186                 DragCompleted(this, new EventArgs());
   186                 DragCompleted(this, new EventArgs());
   187         }
   187         }
   188 
   188 
   189         private void slider_ContactTapGesture(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
   189         private void slider_ContactTapGesture(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
   190         {
   190         {
   191             addAnnotation();
   191             //addAnnotation();
   192         }
   192         }
   193 
   193 
   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())));