窗体形式的矩形形状 [英] Rectangle shape in windows form

查看:65
本文介绍了窗体形式的矩形形状的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我,当窗体最小化和最大化时,如何避免矩形形状远离中心移动。添加到窗口中心的矩形形状在最小化和最大化时远离中心移动。此外,我已将矩形的锚属性设置为TOP但仍然无法帮助我。



提前谢谢。

Hi can anybody tell me how to avoid rectangle shape from moving away from center when the form is minimized & maximized. The rectangle shape added to the center of the windows form moves away from the center when minimized & maximized. Also i have set the anchor property of the rectangle to be TOP but still this doesn't help me out.

Thanks in advance.

推荐答案

您好,

尝试更改矩形控件的锚点停靠属性



祝你好运,

z3ngew
Hi there,
try to change the anchor and dock properties of the rectangle control

Good Luck,
z3ngew


这篇关于窗体形式的矩形形状的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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