Beispiel #1
0
 public static void Start(double idleTimeoutSeconds = 1200, int timerIntervalSeconds = 5)
 {
     IdleMonitor monitor = new IdleMonitor(idleTimeoutSeconds, timerIntervalSeconds * 1000);
 }
Beispiel #2
0
 public void startIdleMonitor(double idleTimeoutSeconds, int timerIntervalSeconds)
 {
     form.Invoke(new Action(() => {
         IdleMonitor.Start(idleTimeoutSeconds, timerIntervalSeconds);
     }));
 }