你能帮我解决这个问题吗? [英] Can you help me this problem?

查看:109
本文介绍了你能帮我解决这个问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有此问题,但尚未得到处理,这是:

我想在关闭MdiChild时将statusStrip放入MdiParent

请帮助我!

I have this problem but have not been processed,this is :

I want dispose statusStrip into MdiParent when close MdiChild

Please help me!

推荐答案

您的问题尚不完全清楚.处置到MdiParent中的声音就像您将MdiParent降解为垃圾桶一样.

您是说如果MdiChild关闭,您想将statusStrip从MdiChild移到MdiParent?

那是不可能做到的(它可以但控件不能重用).您只需创建另一个statusStrip并将其添加到MdiParent的ControlCollection中,并在关闭之前将其添加到MdiChild的statusStrip中的状态信息即可.

祝你好运!
Your question isn''t completely clear. Dispose into MdiParent sounds like you degraded your MdiParent as trashcan.

Do you mean that if the MdiChild closes you want to move the statusStrip from the MdiChild to the MdiParent?

That cannot be done (it can but controls are not intended for reuse). You simply create another statusStrip and add it to the ControlCollection of the MdiParent and fill it with the status information from statusStrip of the MdiChild just before closing.

Good luck!


谢谢我解决了这个问题


这篇关于你能帮我解决这个问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆