Пример #1
0
 void _manager_PushDetected(object sender, PushGestureRecognisedEventArgs e)
 {
     string text = "State: Push Detected";
     System.Windows.Threading.Dispatcher pdDispatcher = lblState.Dispatcher;
     //create a new delegate for updating our progress text
     UpdateStatusTextDelegate update = new UpdateStatusTextDelegate(UpdateStatusText);
     //invoke the dispatcher and pass the percentage and max record count
     pdDispatcher.BeginInvoke(update, text);
 }
Пример #2
0
 void _gestureTracker_PushGestureRecognized(object sender, PushGestureRecognisedEventArgs e)
 {
     PushDetected(this, e);
 }
Пример #3
0
 void pg_PushGestureRecognisedEventHandler(object sender, PushGestureRecognisedEventArgs e)
 {
     PushGestureRecognized(this, e);
 }