Bitmap bm = new Bitmap(this.pbTraffic.Image); BufferedGraphicsContext current = BufferedGraphicsManager.Current; BufferedGraphics buf = current.Allocate(pbTraffic.CreateGraphics(), pbTraffic.DisplayRectangle); buf.Graphics.Clear(pbTraffic.BackColor); buf.Graphics.DrawImage(bm, mx, my, pbTraffic.Width, pbTraffic.Height); buf.Render(pbTraffic.CreateGraphics());

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-12-23
  • 2022-03-04
猜你喜欢
  • 2022-12-23
  • 2021-08-19
  • 2021-05-17
  • 2021-12-25
  • 2022-12-23
  • 2021-11-08
  • 2022-12-23
相关资源
相似解决方案