如何在.NET中继承MDI表单? [英] How to Inherit a MDI form in .NET?
本文介绍了如何在.NET中继承MDI表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在不复制菜单组的情况下创建继承的MDI表单的最佳方法是什么?
如果仅从MID_Parent继承MID_Children,则MDI_Children将具有2个菜单组.如何避免呢?
原因是我有多个具有相同MID功能的应用程序,但菜单中的项目比父项更多.
What is the best way to create an inherited MDI form without duplicating the menu groups?
If you just inherit your MID_Children from your MID_Parent, your MDI_Children will have 2 menu groups. How to avoid that?
The reason for that is the fact that I have multiple applications that have the same MID features, but the menu has more items than the parent.
Has someone ever done that already?
推荐答案
那么,您是否试图实现:
So are you trying to achieve:
+--> MDI_Child
|
MDI_Parent --+--> MDI_Child
|
+--> MDI_Child
或
+--> MDI_Child --> MDI_Child
|
MDI_Parent --+
|
+--> MDI_Child
?
?
这篇关于如何在.NET中继承MDI表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文