Problems with the Parent Form in MDI Application

不问归期 提交于 2019-12-02 08:40:56

Is the child control another container or a seperate form? If it is another container use whatever the name of the child form and bringtoFront i.e. child.BringToFront(); I think your problem is that you are putting controls in the parent container. They will remain on top of any mdi Child forms that you create. I think the best way for you to handle this is to change their visibility based on the window state of the mdi Child form either by creating a custom event in the Child form or monitoring the window state of the child form in the parent.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!