//禁用窗体的标题栏按钮(最小化,最大化,关闭)
this.ControlBox=false;
//禁止拖动边框以改变窗体大小
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
//隐藏标题栏
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
//禁用窗体的标题栏按钮(最小化,最大化,关闭)
this.ControlBox=false;
//禁止拖动边框以改变窗体大小
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
//隐藏标题栏
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;