2021年4月12日
摘要: 在FormClosing窗体事件加上如下判断,根据需要修改。 switch (e.CloseReason) { //应用程序要求关闭窗口 case CloseReason.ApplicationExitCall: e.Cancel = false; //不拦截,响应操作 break; //不明原因的 阅读全文
posted @ 2021-04-12 15:42 XinRuiIIII 阅读(410) 评论(0) 推荐(0) 编辑