Remove the title bar in Windows Forms

前端 未结 7 2012
孤城傲影
孤城傲影 2020-11-29 20:10

How can I remove the blue border that\'s on top of the Window Form? (I don\'t know the name of it exactly.)

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 20:40

    You can set the Property FormBorderStyle to none in the designer, or in code:

    this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
    

提交回复
热议问题