To prevent the user from resizing a form, I set its FormBorderStyle to FixedSingle, as recommended here:

Disable Resizing of a Windows Form

This works on XP, but on Windows 7 it doesn't. What has to be done to get it to work on Windows 7 also?

有帮助吗?

解决方案

You could set MinimumSize equal to MaximumSize on the form.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top