winform 窗体大小固定 去掉右上角按钮

this.MaximizeBox = false;      //最大化
this.MinimizeBox = false;      //最小化
this.ControlBox = false;       //关闭
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
posted @ 2020-11-26 11:46  YiXiaoKezz  阅读(222)  评论(0编辑  收藏  举报