从Chid表单的MDI访问工具栏 [英] Accessing Toolbar from MDI in Chid forms

查看:60
本文介绍了从Chid表单的MDI访问工具栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

Hi all,

   I want to access toolbar from MDI in Chid forms.for example  I place ADD,DELETE, EDIT in MDI tool Bar.

have to access  these in all child forms. 

How can we do it?

推荐答案

检查此链接

http://www.dreamincode.net/forums/topic/57601-using -mdi-in-c%23/ [
check this link

http://www.dreamincode.net/forums/topic/57601-using-mdi-in-c%23/[^]


这是我的建议:谁需要MDI?为什么要折磨自己并吓users用户?

帮自己一个忙:完全不要使用MDI.没有设计,您可以更轻松地实现设计,并且质量更高.即使Microsoft也不鼓励使用MDI,实际上,Microsoft已将其从WPF中删除,并且几乎不支持它.更重要的是,如果您使用MDI,则会吓跑所有用户.只是不要.我可以解释该怎么办.

请查看我过去关于以下主题的答案:
在WPF中使用MDI窗口的问题 [ ^ ],
MDIContainer提供错误 [如何最大程度地设置子表单,最小化最后一个子表单 [ ^ ].

另请参见:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages [如何在WPF中创建MDI父窗口? [ ^ ].

—SA
Here is my advice: who needs MDI, ever? Why torturing yourself and scaring off your users?

Do yourself a great favor: do not use MDI at all. You can do much easier to implement design without it, with much better quality. MDI is highly discouraged even by Microsoft, in fact, Microsoft dropped it out of WPF and will hardly support it. More importantly, you will scare off all your users if you use MDI. Just don''t. I can explain what to do instead.

Please see my past answers on the topic:
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to set child forms maximized, last childform minimized[^].

See also:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
How to Create MDI Parent Window in WPF?[^].

—SA


这篇关于从Chid表单的MDI访问工具栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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