05 2008 档案

摘要://下面类使用的是遍历进程,根据进程名判断 //参考 using System; using System.Text.RegularExpressions; using System.Diagnostics; using System.Runtime.InteropServices; namespace HandleRunningProcess { /// <summary>... 阅读全文
posted @ 2008-05-09 21:39 代码闪亮 阅读(718) 评论(0) 推荐(0) 编辑
摘要:先讲实现方法: 首先依然是命名空间: using System.Threading; 然后修改 static void Main() { bool bCreatedNew; Mutex ltt =new Mutex( false, "myUniqueName", out bCreatedNew ); if( bCreatedNew ) Application.Run(n... 阅读全文
posted @ 2008-05-09 21:38 代码闪亮 阅读(545) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示