Just For Me

博客园 首页 新随笔 联系 订阅 管理

2011年3月1日 #

摘要: http://xxinside.blogbus.com/logs/47162540.html 阅读全文
posted @ 2011-03-01 14:42 JunjieChang 阅读(130) 评论(0) 推荐(0) 编辑

摘要: 代码: //=====创建互斥体法:===== //bool blnIsRunning; //Mutex mutexApp = new Mutex(false, Assembly.GetExecutingAssembly().FullName, out blnIsRunning); //if (!blnIsRunning) //{ // MessageBox.Show("程序已经运行!", "提示", // MessageBoxButtons.OK, MessageBoxIcon.Exclamation); // return; //} 代码: //保证 阅读全文
posted @ 2011-03-01 11:22 JunjieChang 阅读(2926) 评论(0) 推荐(0) 编辑