void _manager_StillDetected(object sender, StillGestureRecognisedEventArgs e) { string text = "State: Still hand 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_StillGestureRecognized(object sender, StillGestureRecognisedEventArgs e) { StillDetected(this, e); }
void stillg_StillGestureRecognized(object sender, StillGestureRecognisedEventArgs e) { StillGestureRecognized(this, e); }