如何显示子表单-Dev Express父功能区表单 [英] How do i display a child form - Dev Express parent Ribbon Form
本文介绍了如何显示子表单-Dev Express父功能区表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Dev Express.
我想在功能为[isMdiContainer=True]
的功能区表单上显示子表单
我的C#代码如下:
I''m using Dev Express.
I would like to display a child form on a Ribbon Form whose property [isMdiContainer=True]
My c# code is as follows:
XtrafrmClients ch_clients = new XtrafrmClients();
ch_clients.MdiParent = this;
ch_clients.Show();
使用此代码,没有例外,但我看不到子窗体.
我尝试获取以下内容的输出:
string x = this.hasChildren.to string()
结果是真实的.
请帮忙.
With this code, there is no exception but I can''t see the child form.
I tried to get the output of:
string x = this.hasChildren.to string()
and the result is true.
Please help.
推荐答案
RibbonForm是默认情况下使用填充面板的面板创建的.只需卸下此面板,即可显示MDI内容.另外,clientPanel.SendToBack();确实有帮助. :)
RibbonForm is created with the panel filling the form by default. Simply remove this panel to make the MDI contents visible. Also, clientPanel.SendToBack(); does help as well. :)
这篇关于如何显示子表单-Dev Express父功能区表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文