Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,所以我有一个 VB .Net MDI 表单应用程序。
frmMain 是 IsMDIContainer 设置为 TRUE 的“父”表单。
我从 frmMain 加载“frmChild”,将 MDIparent 属性设置为 frmMain。
我最小化表单,然后最小化应用程序。几分钟后我恢复了应用程序,然后恢复了frmChild,发现frmChild现在完全是空白的……?
当我最小化子表单,然后最小化应用程序并随后恢复应用程序然后恢复子表单时,这种情况会间歇性发生......
我不确定你在问什么,但如果你想尝试缓解这个问题,你可以尝试使'frmChild'无效,这将强制它以及它包含的所有控件被重绘。