Exemplo n.º 1
0
 private void setMoviePoster(Dictionary <string, string> Movie)
 {
     using (var bmpTemp = new Bitmap(PosterStorage.GetFile(Movie["poster_path"].ToString())))
     {
         MoviePoster.Image = new Bitmap(bmpTemp);
     }
 }
Exemplo n.º 2
0
 private void setMoviePoster(MySqlDataReader movie)
 {
     using (var bmpTemp = new Bitmap(PosterStorage.GetFile(movie["poster_path"].ToString())))
     {
         MoviePoster.Image = new Bitmap(bmpTemp);
     }
 }
Exemplo n.º 3
0
 private void setMoviePoster(MySqlDataReader movie)
 {
     // ambil gambar lokal dan pasangkan ke picturebox
     using (Bitmap bmpTemp = new Bitmap(
                PosterStorage.GetFile(
                    movie["poster_path"].ToString()
                    )
                ))
     {
         MoviePoster.Image = new Bitmap(bmpTemp);
     }
 }