开发者

How to set control (windows control) position to some other control relative postion

I want to set control position relative to other control so when i make one control hide then other control move up like this.

Ex.

Label1

Label2

L开发者_如何转开发abel3

When i hide Label2 so output will be

Label1

Label3


You can use FlowLayoutPanel

Though, you might need to set the FlowDirection to TopDown

Just put those labels into the panel

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜