コード例 #1
0
 private void BingSearchButton_Click(object sender, RoutedEventArgs e)
 {
     SearchTask task = new SearchTask()
     {
         SearchQuery = "Windows Phone 7 in Action domain:manning.com"
     };
     task.Show();
 }
コード例 #2
0
 protected void Company_Tap(object sender, EventArgs e)
 {
     if (_viewModel.User != null && !string.IsNullOrWhiteSpace(_viewModel.User.Company))
     {
         var searchTask = new SearchTask();
         searchTask.SearchQuery = _viewModel.User.Company;
         searchTask.Show();
     }
 }
コード例 #3
0
 private void btnSearch_Click(object sender, RoutedEventArgs e)
 {
     SearchTask searchTask = new SearchTask();
     searchTask.SearchQuery = txtInput.Text;
     searchTask.Show();
 }
コード例 #4
0
ファイル: HelpPage.xaml.cs プロジェクト: bikila/MobiPicasa
 private void BingSearch_Click(object sender, RoutedEventArgs e)
 {
     SearchTask task = new SearchTask()
     {
         SearchQuery = "MobiPicasa bing.com"
     };
     task.Show();
 }
コード例 #5
0
 private void btnSearch_Click(object sender, RoutedEventArgs e)
 {
     SearchTask stask = new SearchTask();
     stask.SearchQuery = "abhishek";
     stask.Show();
 }
コード例 #6
0
 private void btnLaunchSearch_Click(object sender, RoutedEventArgs e)
 {
     SearchTask task = new SearchTask();
     task.SearchQuery = "Test Testerovich";
     task.Show();
 }
コード例 #7
0
        public SearchTaskViewModel GetSearchViewModel(string search)
        {
            if (search == null)
                throw new ArgumentNullException("search");

            var pattern = search + "%";
            var task = new SearchTask(logger, pattern, mediaItemRepository);
            return new SearchTaskViewModel(logger, task, search);
        }
コード例 #8
0
 private void btnLaunchSearch_Click(object sender, RoutedEventArgs e)
 {
     SearchTask task = new SearchTask();
     task.SearchQuery = "Vangos Pterneas";
     task.Show();
 }