如何将多个表单加载到类似于MDI的面板中 [英] How do I get multiple forms to load into a panel similar to MDI

查看:69
本文介绍了如何将多个表单加载到类似于MDI的面板中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HELP !!我正在尝试制作带有背景图像的MDI表单。我试图使用一个图片框并将其发送到后面,但当表单加载到MDI时它会在图片后面。所以我决定使用面板,但这不起作用。可以有人帮忙???????????????????????????????????????????????????????????????????????????????????????????????????这个想法很糟糕,不可接受,毫无意义。您可以使用许多面板来播放相同的角色,或使用 TabControl 的标签页(以非常简单和整洁的设计)或其他形式,而不是多种形式。



有趣的是,您认为MDI可以为您提供模型。 MDI是最糟糕的发明之一;微软试图以一种温和的方式进行阶段化,但是将其留在Forms中以减少对旧应用程序的开发人员的伤害。你为什么要模仿最坏的?只是为了吓跑你的用户? :-)



您的 PictureBox 的麻烦只是不清楚。如果您一直面临这个问题,请提出一个正确的问题,并提供全面但非常短的代码示例来解决问题。



-SA

HELP!! I am trying to make a MDI Form with a background image. I tried to use a picturebox and send it to the back but when the form loads into the MDI it goes behind the picture. So i decided to use a panel but that did not work. can someone help????????????????????

解决方案

Please see my comment to the question. The idea is bad, unacceptable, makes no sense. Instead of many forms, you can use many panels playing the same roles, or tab pages of TabControl (in a very simple and neat design) or something else.

It's interesting that you thought that MDI could serve you as a model. MDI is one of the worst inventions; Microsoft trying to phase is in a gentle way, but leaved it in Forms to harm the developers of old applications less. Why would you want to mimic the worst? Just to scare off your users? :-)

Your troubles with PictureBox are just unclear. If you keep facing this problem, please ask a proper question, with comprehensive but very short code sample manifesting the problem.

—SA


这篇关于如何将多个表单加载到类似于MDI的面板中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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