Mdi形式和Chiled形式 [英] Mdi Form And Chiled Form

查看:123
本文介绍了Mdi形式和Chiled形式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone

i创建了一个mdi表单,两个子表单但不能从form1在同一个mdi父表单中打开form2





这个主题的帮助,并为我提供了这个

解决方案

开的-MDI-子外形从-A-儿童形式/ [<一个href =http://www.dreamincode.net/forums/topic/88932-opening-an-mdi-child-form-from-a-child-form/target =_ blanktitle =New Window> ^ ]



希望它会有所帮助..


这不是CP通常的工作方式。这里最重要的目标是学习和帮助学习。

你应该自己尝试,当你遇到困难时来到这里,对你的代码,设计等有一个具体的问题。

请查看你有什么尝试? [ ^ ]至看看我的意思是一个很好的解释。

不要忘记这里的人不会得到报酬。此外,如果我们给你一个随时可用的解决方案,它不会帮助你,因为你不会从中学到任何东西。



请使用改进问题小部件并编辑您的问题,以提供更好的信息,一部分代码。更具体一点也不会有害,这可能是一个很长的答案。


老实说,你正在沿着错误的路线前进。不要面对这个问题和其他问题,你不应该使用MDI。



这是一个想法:谁需要MDI?为什么要折磨自己并吓跑你的用户?

帮自己一个大忙:根本不要使用MDI。没有它,您可以更轻松地实现设计,质量更好。 MDI甚至被微软高度劝阻,事实上,微软将其从WPF中删除并且很难支持它。更重要的是,如果您使用MDI,您将吓跑所有用户。只是不要。请参阅:

http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages [ ^ ],

如何在WPF中创建MDI父窗口? [ ^ ]。



我可以解释做什么。请看我过去的答案:

如何在WPF中创建MDI父窗口? [解决方案2 ],

关于在WPF中使用MDI窗口的问题 [ ^ ],

麦当劳给出错误 [ ^ ],

如何设置子窗体最大化,最后一个子窗体最小化 [ ^ ]。



-SA

Hello Everyone
i created one mdi form,and two child form but cant open form2 from form1 in same mdi parent


help on this topic and provide me rigth code for this

解决方案

opening-an-mdi-child-form-from-a-child-form/[^]

Hope it will help..


This is not how CP usually works. Most important goal here is to learn and help learning.
You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc.
Please have a look to What have you tried?[^] to see a good explanation about what I mean.
Don't forget people here don't get payed. And besides, if we give you a ready-to-go solution, it is not going to help you because you are not going to learn anything from it.

Please use the "improve question" widget and edit your question to give better information, a piece of the code involved. Being a bit more concrete won't harm , that could be a very long answer.


Honestly, you are working along the wrong line. Instead of facing this and other problems, you should not use MDI.

Here is the idea: 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. Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
How to Create MDI Parent Window in WPF?[^].

I can explain what to do instead. Please see my past answers:
How to Create MDI Parent Window in WPF? [Solution 2],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to set child forms maximized, last childform minimized[^].

—SA


这篇关于Mdi形式和Chiled形式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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