摘要: 对有窗口的程序,控制只运行一个实例比较容易。但对于运行在后台,设置成任务计划的程序来说,要控制只运行一个实例,就要多费点小小功夫。下面分享下我的代码:希望对大家有点帮助。 using System;using System.Collections.Generic;using System.Windows.Forms;using System.Runtime.InteropServices;usin... 阅读全文
posted @ 2009-03-21 19:00 Kwoksun 阅读(281) 评论(0) 推荐(0) 编辑