afterload事件,加入代码,设计之前,记得加入一个关闭窗口的按钮
e.Form.BaseForm.FormBorderStyle = Windows.Forms.FormBorderStyle.None