C3032
2026-01-07 a0c982ba8abdbd7569a6cae07812127a757fd410
LB_VisionProcesses/Cameras/2DCameraForm.cs
@@ -390,21 +390,20 @@
            if (e.Bitmap == null)
                return;
            lock (e.Bitmap)
            {
                if (this.InvokeRequired) // 检查是否需要在UI线程上调用
                lock (e.Bitmap)
                {
                    this.Invoke(new Action(() =>
                    if (this.InvokeRequired) // 检查是否需要在UI线程上调用
                    {
                        this.Invoke(new Action(() =>
                        {
                            onlinePictureBox.Image = e.Bitmap;
                        })); // 递归调用自身,但这次在UI线程上
                    }
                    else
                    {
                        onlinePictureBox.Image = e.Bitmap;
                    })); // 递归调用自身,但这次在UI线程上
                    }
                }
                else
                {
                    onlinePictureBox.Image = e.Bitmap;
                }
            }
            total.iImageCount++;
            try
            {