MDI 应用程序最小化/恢复问题

发布于 2024-07-30 05:57:12 字数 291 浏览 2 评论 0原文

好的,我有一个 VB .Net MDI 表单应用程序。

frmMain 是 IsMDIContainer 设置为 TRUE 的“父”表单。

我从 frmMain 加载“frmChild”,将 MDIparent 属性设置为 frmMain。

我最小化表单,然后最小化应用程序。 几分钟后我恢复应用程序,然后恢复frmChild,发现frmChild现在完全是空白的......?

当我最小化子窗体,然后最小化应用程序并随后恢复应用程序,然后恢复子窗体时,这种情况会间歇性地发生...

Ok, so I have a VB .Net MDI Forms Application.

frmMain is the "parent" form with IsMDIContainer set to TRUE.

I load "frmChild" from frmMain setting the MDIparent property to frmMain.

I minimize the form, then minimize the application.
I restore the application a few minutes later, then restore frmChild and find that frmChild is now totally blank...?

This happens intermittently when I minimize the child form, then minimize the application and subsequently restore the application then restore the child form...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷情妓 2024-08-06 05:57:12

我不确定你在问什么,但如果你想尝试缓解这个问题,你可以尝试使“frmChild”无效,这将迫使它及其包含的所有控件被重新绘制。

I'm not sure what you are asking, but if you want to try and alleviate the problem you can try invalidating 'frmChild' which will force it and all it's contained controls to be redrawn.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文