Preventing Winform from being maximized?

前端 未结 9 1884
迷失自我
迷失自我 2020-12-06 18:02

I want to prevent my desktop application from being maximized. It should not become maximized by any means - by double clicking on title bar, or by clicking Windows + Up arr

9条回答
  •  执念已碎
    2020-12-06 18:43

    One thing you can do is set the MaximumSize and MinimumSize in the same value but not 0,0.

提交回复
热议问题