Ejemplo n.º 1
0
 public void AddProcessToBeHooked(string aPath)
 {
     if (ThereIsARunningProcessMatching(aPath))
     {
         var aMessage = string.Format("The process '{0}' is already running.", aPath);
         _view.ShowError(aMessage);
         return;
     }
     _view.DisplayProcessToBeHookedOnStart(CreateProcessToBeHookedFrom(aPath));
 }