Exemplo n.º 1
0
 /// <summary>
 /// Launches search task.
 /// </summary>
 /// <param name="sender">Search Task button</param>
 /// <param name="e">Event arguments</param>
 private void ShowSearchTask(object sender, RoutedEventArgs e)
 {
     MusicSearchTask task = new MusicSearchTask();
     task.SearchTerms = "Muse";
     task.Show();
 }
 public void TestSearchGoesAheadWhenItCan()
 {
     MusicSearchTask task = new MusicSearchTask() { SearchTerms = TestTerm };
     task.Show();
 }
Exemplo n.º 3
0
 private void searchMusic(object sender, RoutedEventArgs e)
 {
     MusicSearchTask task = new MusicSearchTask();
     task.SearchTerms = MusicTextBox.Text;
     task.Show();
 }
 public void TestSearchTermPropertyIsRequired()
 {
     MusicSearchTask task = new MusicSearchTask();
     task.Show();
 }
Exemplo n.º 5
0
 /// <summary>
 ///     Launches search music task.
 /// </summary>
 /// <param name="searchTerm">The search terms</param>
 static public void LaunchSearch(string searchTerm)
 {
     var task = new MusicSearchTask { SearchTerms = searchTerm };
     task.Show();
 }