您好,我正在尝试在Wpf中完成我的第一个项目,所以我可以提供一些样本来帮助我 [英] Hello, I Am Trying To Do My First Project In Wpf, So Can I Have Some Samples To Help Me Out

查看:89
本文介绍了您好,我正在尝试在Wpf中完成我的第一个项目,所以我可以提供一些样本来帮助我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的基本需求是开发一个应用程序(windows),它将具有mdiparent和child,menu和子菜单等功能。

例如:

我想要的是带菜单和子菜单的mdiparent。
点击菜单或子菜单的
将打开不同的表单,但它将在mdiparent容器内。如果它是一个标签式mdichild形式更好..这是我想要的设计。我无法找到样品。你可以帮我一些????

谢谢

The basic need that I have is to develop an application (windows) which will have features like mdiparent & child, menu and sub menus.
for example :
what I want is a mdiparent with menus and submenus.
on clicking the menus or sub menus different forms will open but it will be inside the mdiparent container. better if its a tabbed mdichild form.. This is the design i want. I am not able to find samples. can u help me with some????
Thank you

推荐答案

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

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

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

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



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

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

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

麦当劳给出错误 [ ^ ],

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



-SA
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


试试这些链接 -

WPF的多窗口界面 [ ^ ]

WPF多文档界面(MDI) [ ^ ]
Try these links -
Multiple Window Interface for WPF[^]
WPF Multiple Document Interface (MDI)[^]


这篇关于您好,我正在尝试在Wpf中完成我的第一个项目,所以我可以提供一些样本来帮助我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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