写了个程序,结果在form关闭的时候出现错误提示: An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll 中断后一直定位到this.close(); 因为form中有定时什么的,所以去网上查了一天的堆栈溢出相关的死循环,线程什么的,最后让别人帮我看,才发现错误原因, 原来是我在form_formclosed()中又调用了this.close(),自己调用自己,结果就死了 我看了一整天都没发现这个问题T_T
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
最新推荐文章于 2020-10-10 16:34:07 发布