05 2008 档案
摘要://下面类使用的是遍历进程,根据进程名判断 //参考 using System; using System.Text.RegularExpressions; using System.Diagnostics; using System.Runtime.InteropServices; namespace HandleRunningProcess { /// <summary>...
阅读全文
摘要:先讲实现方法: 首先依然是命名空间: using System.Threading; 然后修改 static void Main() { bool bCreatedNew; Mutex ltt =new Mutex( false, "myUniqueName", out bCreatedNew ); if( bCreatedNew ) Application.Run(n...
阅读全文