src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs
changeset 107 604696163664
parent 99 5a49507c8159
child 115 1e87bcfec117
equal deleted inserted replaced
106:9dfc0ee0ab17 107:604696163664
   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())));