Ejemplo n.º 1
0
 void TsWinLoggerProcessStopped(object sender, WindowTracker.ProcessEventArgs args)
 {
     //TODO Another logic is needed
     //TsTask task = _taskList.Find(t => t.AssignedApplications.Find(a => a.PID == args.PID) != null);
     //if (task != null)
     //    task.ActualTimeToSpend += DateTime.Now - task.AssignedApplications.Find(a => a.PID == args.PID).StartTime;
 }
Ejemplo n.º 2
0
 public void InvokeProcessStopped(WindowTracker.ProcessEventArgs args)
 {
     WindowTracker.ProcessStoppedHandler handler = ProcessStopped;
     if (handler != null)
     {
         handler(this, args);
     }
 }
Ejemplo n.º 3
0
 void WinTrackerProcessStopped(object sender, WindowTracker.ProcessEventArgs args)
 {
     InvokeProcessStopped(args);
 }