프로그램
2011. 8. 25.
c# 중복실행방지 모음
http://kwangho.tistory.com/677 방법 1~ 3 1. Mutex : bool createdNew ; // MyMutex라는 문자열을 유니크하게 구성하면 더 좋습니다. Mutex gM1 = new Mutex(true,"MyMutex", out createdNew); if (createdNew) { Application.Run(new Form1()); gM1.ReleaseMutex(); } else MessageBox.Show("이미 실행되어 있습니다."); 2. Process.GetProcessesByName : private void DoublePlayCHK() { try { throw new System.NotImplementedException(); } catch(NotImple..