Ejemplo n.º 1
0
 private void threadLoadMovieImage()
 {
     foreach (Movie movie in movieList)
     {
         if (StringUtils.isBlank(movie.Photo))
         {
             MovieAPI.searchMovie(movie);
         }
     }
 }
 private void TextBox_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         movieList = MovieAPI.searchMovie(movie);
         if (movieList.Count > 1)
         {
             chooseMoviePanel.Visibility = Visibility.Visible;
             preBtn.IsEnabled            = false;
             pageLabel.Content           = "1/" + movieList.Count;
         }
         else
         {
             chooseMoviePanel.Visibility = Visibility.Hidden;
         }
     }
 }