예제 #1
0
 public void Add(Process proc)
 {
     try
     {
         if (!proc.HasExited)
         {
             proc.Exited += OnProcExit;
             Procs.Add(proc);
             hasFired = false;
         }
     }
     catch (Win32Exception)
     { }
 }