我正在使用Winforms来显示捕获的图像。问题是在图片框中显示图像太慢了。我正在做以下
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox1.Image = bitmap;
但那太慢了。请给出任何解决方案,以便顺利地显示图像,而不会冻结。