开发者

increase form height

开发者 https://www.devze.com 2023-01-23 06:47 出处:网络
How can I increase ov开发者_Go百科er 1062px form height in c# forms application ? I can also use scrollable component for this problem.

How can I increase ov开发者_Go百科er 1062px form height in c# forms application ?

I can also use scrollable component for this problem.

Thanks.


A form cannot be taller than the working area of your screen.

EDIT: You can make a Panel control and set its AutoScroll property to true.
However, this will result in a very poor user experience.

You should rethink your UI.


While the form cannot be taller than the working area of your screen you can set AutoScroll property on the form instead:

form1.AutoScroll = true;

This will have the scrollbars to automatically appear when the form contests are larger than its visible area.

0

精彩评论

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

关注公众号