摘要:
实现单实例应用程序的方法比较多,我列举一些常用的方法: 1,使用互斥体: static void Main() { bool isOnlyOne; System.Threading.Mutex mtx = new System.Threading.Mutex (false, "OnlyOne", out isOnlyOne); if (isOnlyOne) { Application... 阅读全文
posted @ 2010-06-19 09:23
周雪峰
阅读(2016)
评论(3)
推荐(2)
浙公网安备 33010602011771号