Mutex mutex = new Mutex(false, ""); if (!mutex.WaitOne(, false)){ MessageBox.Show("程序已经启动"); return;}