摘要:
http://xxinside.blogbus.com/logs/47162540.html 阅读全文
2011年3月1日 #
摘要:
代码: //=====创建互斥体法:===== //bool blnIsRunning; //Mutex mutexApp = new Mutex(false, Assembly.GetExecutingAssembly().FullName, out blnIsRunning); //if (!blnIsRunning) //{ // MessageBox.Show("程序已经运行!", "提示", // MessageBoxButtons.OK, MessageBoxIcon.Exclamation); // return; //} 代码: //保证 阅读全文