using System.Diagnostics; ... ... //=====不可重複開啟同一支程式(將程式碼放至於偵測是否被開啟的程式中即可)===== Process[] proc = Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName); if (proc.Length > 1) { //表示此程式已被開啟 MessageBox.Show("程式執行中"); } //=====偵測執行中的外部程式並關閉===== Process[] MyProcess = Process.GetProcessesByName("程式名稱"); if (MyProcess.Length>0) MyProcess[0].Kill(); //關閉執行中的程式
Harrah's Resort Atlantic City - MapYRO
回覆刪除The rooms 사천 출장안마 feature 제주 출장샵 floor-to-ceiling windows, including a large living room, a granite-topped wet bar, 부천 출장안마 and dafabet a bathroom 통영 출장샵 that is located directly on the