void workoutSearchControl1_SearchButtonClicked(object sender, SearchControlEventArgs e) { startSearch(e.SearchString); }
void workoutSearchControl1_SearchButtonClicked(object sender, SearchControlEventArgs e) { Dispatcher.BeginInvoke(() => NavigationService.Navigate(new Uri("/WorkoutSearchResults.xaml?Query=" + e.SearchString, UriKind.RelativeOrAbsolute))); }