在MDI子窗体中,在面板中将最小化:c# [英] In MDI Child form minimize with in panel : c#

查看:44
本文介绍了在MDI子窗体中,在面板中将最小化:c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在使用面板的Mdi表单中,当我单击按钮时,子表单将在面板中加载.

子窗体设置边框样式:无.

在子窗体中,当我单击将在面板上最小化的按钮时,我将单击在面板上将最大化的最小化形式.

谁能帮帮我.

问候
Rajesh.

Hi,
In Mdi Form using panel, when i click button the child form load on with in panel.

The Child form set border style : None.

In child form, when i click button that will minimize on with in panel and i will click that minimize form that will maximize on panel.

Can anyone help me out.

Regards
Rajesh.

推荐答案

您不能以任何简单的方式将MDI形式的育儿控件与育儿MDI子项混合使用.

为什么要遭受MDI损坏的设计的困扰?首先,几乎每个人都强烈反对MDI的设计,而Microsoft对此却极为不便?您是否曾经或多或少使用MDI看到过至少专业的新软件?你什么都找不到.那么,为什么要折磨自己并追逐用户呢?

您确实要使用简单易用的替代方法.
请参阅:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages [在WPF中使用MDI窗口的问题 [ ^ ],
MDIContainer提供错误 [如何在WPF中创建MDI父窗口? [ ^ ].

最简单的体面替代方法是使用基于TabControl的选项卡式界面.现在,以MDI子级形式存在的将是选项卡页.

—SA
You cannot mix parenting controls by a MDI form with parenting MDI children in any simple way.

Why suffering from the broken design of MDI, which is highly discouraged by nearly everyone, first of all — by Microsoft and extremely inconvenient for users? Did you ever see more or less new software which is at least professional, using MDI? You won''t find any. So why torturing yourself and chasing off your users?

There are easy and neat alternatives which you really want to use.
Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to Create MDI Parent Window in WPF?[^].

The simplest decent alternative is using tabbed interface based on TabControl. What you have now in the form of MDI children will be the tab pages.

—SA


这篇关于在MDI子窗体中,在面板中将最小化:c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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