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); }
void _gestureTracker_PushGestureRecognized(object sender, PushGestureRecognisedEventArgs e) { PushDetected(this, e); }
void pg_PushGestureRecognisedEventHandler(object sender, PushGestureRecognisedEventArgs e) { PushGestureRecognized(this, e); }