设置窗体关闭按钮无效
窗体右上角差号关闭按钮无效化privatevoidForm1_FormClosing(objectsender,FormClosingEventArgse){e.Cancel=true;//取消该事件}
下载地址
用户评论