Cancel() public method

public Cancel ( ) : void
return void
 public void Cancel()
 {
     if (IsRunning)
     {
         timer.Cancel();
     }
 }