Пример #1
0
 private static void Program_ProcessStopped(object sender, ProcessTracer.ProcessEventArgs e)
 {
     pids.Remove(e.ProcessID);
     if (pids.Count == 0)
         ResetMouseAccel();
 }
Пример #2
0
 private static void Program_ProcessStarted(object sender, ProcessTracer.ProcessEventArgs e)
 {
     if (pids.Count == 0)
         DisableMouseAccel();
     pids.Add(e.ProcessID);
 }