C#禁止改变窗体大小

guangyaliu / 2024-10-23 / 原文

1.在窗体属性中,把MaximizeBox和MinimumBox设置为false
2.AutoSizeMode的值更改为GrowAndShrink