this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.MaximizeBox = false;
转载于:https://www.cnblogs.com/dbasys/archive/2012/12/01/2797176.html