摘要:
判断同一程序不能同时启动两个应用的代码:在Program中加入如下判断: bool bRun = true; System.Threading.Mutex m = new System.Threading.Mutex(true, Application.ProductName, out bRun); if (bRun) { Application.EnableVisualStyles(); Application.SetCompatibleText... 阅读全文
posted @ 2013-02-21 15:25 JmrBrvae 阅读(327) 评论(0) 推荐(0) 编辑