//给数组赋值,这里用的是通过WebService返回的二进制数组
byte[] img = MyService.GetImg(textBox1.Text);

MemoryStream ms = new MemoryStream(img);
Bitmap bt = new Bitmap(ms);
pictureBox1.Image = Image.FromHbitmap(bt.GetHbitmap());

相关文章:

  • 2021-08-26
  • 2022-02-13
  • 2021-07-08
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案