public void Dispose(bool disposing) { if (disposing) { Stop(); if (_timer != null) { _timer.Dispose(); } } _disposed = true; }