public void Dispose() { m_watcher.EnableRaisingEvents = false; m_watcher.Dispose(); m_timer.Dispose(); } }