private void Form1_Load(object sender, EventArgs e) { foreach(Process pro in Process.GetProcesses("notepad")) { if( pro.ProcessName.Contains("notepad")) { MessageBox.Show("hi"); }
System.Diagnostics.Process.HasExited
Process.WaitForExit
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)