问题描述:

I tried to set form height to 2000 but it return height size to 1044 in C# winform.

Is any way to make height size more than 1044 in winform C#?

网友答案:

The answer is basically no, though Is the size of a Form in Visual Studio designer limited to screen resolution? has a workaround for some situations.

As explained in that Q&A, this is intentional and by design:

From the MSDN

Property Form.Size: The maximum value of this property is limited by the resolution of the screen on which the form runs. The value cannot be greater than 12 pixels over each screen dimension (horizontal + 12 and vertical + 12).

相关阅读:
Top