根据表单大小确定用户控件的位置 [英] fixing the location of the user control based on the form size

查看:57
本文介绍了根据表单大小确定用户控件的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们...

我正在以2个面板(左和右)的形式开发项目.当我单击左侧面板中的链接时,受尊敬的用户控制必须显示在右侧面板中.

我的问题是我想根据右面板的大小(给右面板的anchor属性)来固定用户控件的大小和位置.即,当我调整窗体的大小时,面板将自动调整大小,并且我必须更改用户控制的位置基于面板调整大小.

有人帮我...

在此先感谢...
Harish ...

Hi Friends...

I''m developing the project with 2 panels(left and Right) in a form. when I clicked a link in left panel the respected user contrlo has to display in the right panel.

My question is i want to fix the size and location of the user control based on the right panel size(anchor property given to right panel).. i.e when i resize the form the panel will automatically resizes and i''ve to change the location for user control based on the panel resize..

anybody help me...

Thanks in Advance...
Harish...

推荐答案

我建​​议使用我给您的相同指导来回答您最近的问题:
在窗体形成时增大控件的大小大小增加 [ ^ ].

—SA
I advise to use the same directions I''ve given you in response to your recent question:
Increase the size of the controls when form size increases[^].

—SA


这篇关于根据表单大小确定用户控件的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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