摘要:
这里列举了比较常见的方法:1、static void Main() {boolinitiallyOwned=true;boolisCreated;Mutexm=newMutex(initiallyOwned,"MyTest",outisCreated);if(!(initiallyOwned&&isCreated)){MessageBox.Show("已经有相同的实例在运行。","... 阅读全文
posted @ 2009-05-18 15:43 Phil Wang 阅读(253) 评论(0) 推荐(0) 编辑