WinForm程序中使窗体大小不可改变的方法

this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;

this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;

posted @ 2012-12-01 12:04  深潭  阅读(450)  评论(0编辑  收藏  举报