public void Dispose() { if (m_timer != null) { m_timer.Stop(); ReportTime(m_timer.Duration); m_timer = null; } }