src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs
changeset 162 0b9f989bcb37
parent 160 e940ca798fe3
child 166 33c2e634df13
child 168 d70ee2002f75
--- a/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs	Fri Oct 16 16:26:21 2009 +0200
+++ b/src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs	Fri Oct 16 21:06:25 2009 +0200
@@ -33,6 +33,9 @@
         public event EventHandler DragStarted;
         public event EventHandler DragCompleted;
         public event EventHandler TimerTick;
+        //SAR
+        public event EventHandler OnSuccessAnnotation;
+        //ENDSAR
 
         private double totalmilliseconds;
         
@@ -281,6 +284,9 @@
                 }
 
             }
+            //Raise Event to display Annotation in all Openned UserPanels
+            if (annotOk)
+                OnSuccessAnnotation(this, new EventArgs());
 
         }
 
@@ -339,6 +345,9 @@
                     AnnotWaiting = false;
                 }
             }
+            //Raise Event to display Annotation in all Openned UserPanels
+            if(annotOk)
+                OnSuccessAnnotation(this, new EventArgs());
         }
 
         private void listview_PreviewContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)