Beispiel #1
0
 public void Dispose()
 {
     if (m_timer != null)
     {
         m_timer.Stop();
         ReportTime(m_timer.Duration);
         m_timer = null;
     }
 }
Beispiel #2
0
 public DispTimer()
 {
     m_timer = new CustomTimer();
     m_timer.Start();
 }