Graphics g = e.Graphics; //注意,这里千万不可用Graphics g = this.CreateGraphics() 获得绘图变量。否则闪烁将非常厉害。 Bitmap b = new Bitmap(this.Width, this.Height); Graphics dc = Graphics.FromImage((System.Drawing.Image)b); //将要绘制的内容绘制到dc上 g.DrawImage(b, 0,
C# Picturebox控件上画图闪烁问题的解决方案
最新推荐文章于 2024-04-18 15:44:29 发布