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