首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年9月7日

摘要: 代码如下: <script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <style type="text/css"> img { border: none; }</style> <div... 阅读全文

posted @ 2010-09-07 13:29 达奇 阅读(23732) 评论(4) 推荐(2) 编辑

摘要: C#在关闭窗体的时候,有时线程还在后台执行,没有及时退出。处理方案:为Form添加FormClosing事件,加入以下语句,在退出时,杀死本进程。System.Diagnostics.Process.GetCurrentProcess().Kill();很久没写WinForm啦 以后会用到! 阅读全文

posted @ 2010-09-07 10:17 达奇 阅读(1094) 评论(0) 推荐(0) 编辑