Example #1
0
 private void Presenter_StrokesErased(InkPresenter sender, InkStrokesErasedEventArgs args)
 {
     foreach (InkStroke stroke in args.Strokes)
     {
         _analyser.RemoveDataForStroke(stroke.Id);
     }
 }
Example #2
0
 private void InkPresenter_StrokesErased(InkPresenter sender, InkStrokesErasedEventArgs args)
 {
     dispatcherTimer.Stop();
     foreach (var stroke in args.Strokes)
     {
         inkAnalyzer.RemoveDataForStroke(stroke.Id);
     }
     dispatcherTimer.Start();
 }