An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
写了个程序,结果在form关闭的时候出现错误提示:
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
中断后一直定位到this.close();
因为form中有定时什么的,所以去网上查了一天的堆栈溢出相关的死循环,线程什么的,最后让别人帮我看,才发现错误原因,
原来是我在form_formclosed()中又调用了this.close(),自己调
原创
2011-04-15 15:38:00 ·
2889 阅读 ·
1 评论