以单一形式使用多个面板 [英] multiple panel using in a single form

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

问题描述

我们如何在一个表单中使用多个面板,以及如何在不干扰其他表单的情况下访问单个表单

how we use multiple panels in an single form and how we can access the individual form without interference of other forms

推荐答案

如果我正确理解了这个问题(是非常困难的:-)),这是我一直建议的.但是,它与访问"无关:您可以按其名称(或其他引用,如控件的数组等)访问所有控件,而不管其包含的控件(如面板(拆分面板,选项卡面板和还有更多).

请查看我过去关于该主题的建议:
屏幕分辨率更改时,Zom Out发生故障 [ ^ ].

一个简单的示例:如何停靠按钮,以便可以使用以下格式进行调整 [ GUI外观-C#.Net [
If I understand this question correctly (which is very difficult :-)), this is what I always recommend. It has nothing to do with "access" though: you can access all controls by their names (or other references, such as arrays of controls or something) regardless of the nesting of their containing controls like panels (split panels, tab panels and a lot more).

Please take a look at my past advices on the topic:
Zom Out malfunctions when Screen resolution changes[^].

A simple sample: how to dock button so that it can adjust with the form[^].

See also GUI Apperance - C#.Net[^].

—SA


你好

正确使用单个面板控件
hello

use the individual panel control proerly


这篇关于以单一形式使用多个面板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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