StopMonitoring() public static method

Stops monitoring for idle activity.
public static StopMonitoring ( ) : void
return void
Ejemplo n.º 1
0
 private void cmdStop_Click(object sender, EventArgs e)
 {
     cmdStart.Enabled = true;
     cmdStop.Enabled  = false;
     this.Monitor.StopMonitoring();
     IdleManager.StopMonitoring();
     this.Monitor.MessageReceived -= ProcessMessage;
     AppendMessage("Program stopped at " + DateTime.Now.ToShortTimeString() + ".");
 }
Ejemplo n.º 2
0
 private void StopMonitoring()
 {
     cmdStart.Enabled = true;
     cmdStop.Enabled  = false;
     this.Monitor.StopMonitoring();
     IdleManager.StopMonitoring();
     this.Monitor.MessageReceived -= ProcessMessage;
     LogMessage("Program stopped at " + DateTime.Now.ToShortTimeString() + ".", null, LogMessageType.Status);
 }