更新时间:2023-12-06 09:40:46
我不太下面为什么你需要隐藏和显示形式。你只是试图让的形式来刷新?如果是这样,只需拨打:
I'm not quite following why you need to hide and show the form. Are you just trying to get the form to refresh? If so, just call:
Application.DoEvents()
否则,你可以尝试无效的控制:
or else you can try invalidating your control:
Image1.Invalidate()
这应当引起你的表单进行更新。你不应该需要隐藏和重新显示。如果这不是你的问题,让我知道更详细的问题是什么。
That should cause your form to update. You shouldn't need to hide and show again. If this isn't your issue, let me know in more detail what your problem is.