MDI孩子躲在父母的控制之下 [英] mdi child is hiding behind parent's controls

查看:80
本文介绍了MDI孩子躲在父母的控制之下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两种形式form1和form2
form1是mdi的父级,而form2是其子级
在form1中,我有一个Richtextbox停靠在它上面
所以现在当mdi子项打开时
它仍然隐藏在richtextbox后面...
plzzz help !!!

i have two forms form1 and form2
form1 is mdi parent and form2 is its child
in form1 i have a richtextbox docked on it
so now when the mdi child opens
it remains hidden behind the richtextbox......
plzzz help !!!

推荐答案

将MDIParent控件放置在为mdi儿童保留的区域中并不是一种好的UI习惯.如果您需要不断显示某些内容,请考虑在工具栏,状态栏或浮动工具箱窗口等中添加必要的控件.
Placing a control on MDIParent in the area which is reserved for mdi children isn''t good UI practice. If you need to constantly show something, consider adding necessary controls to toolstrip, status bar or for example a floating toolbox window etc.


你们将折磨自己并吓跑多久?您的MDI客户?这是邪恶的.

请参阅:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages [在WPF中使用MDI窗口的问题 [ ^ ],
提供错误的MDIContainer [
How much longer you guys are going to torture yourself and scare off your customers with MDI? This is evil.

Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^].

—SA


尽管这个问题是1年前问的,但我还是回答.因为这是许多程序员的问题.

就是这么简单,您可以技巧一下,将所有控件放在子窗体上,并在mdi load事件中随时调用它.
Although This question asked 1 year ago,i answer this.because it is question of many programmer.

thats so simple,you can do a trick and put all your controls on a child form and call that in mdi load event and whenever you want.


这篇关于MDI孩子躲在父母的控制之下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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