コード例 #1
0
ファイル: CustomTimer.cs プロジェクト: chrinide/bohrium
 public void Dispose()
 {
     if (m_timer != null)
     {
         m_timer.Stop();
         ReportTime(m_timer.Duration);
         m_timer = null;
     }
 }
コード例 #2
0
ファイル: CustomTimer.cs プロジェクト: chrinide/bohrium
 public DispTimer()
 {
     m_timer = new CustomTimer();
     m_timer.Start();
 }
コード例 #3
0
ファイル: CustomTimer.cs プロジェクト: omegahm/bohrium
 public void Dispose()
 {
     if (m_timer != null)
     {
         m_timer.Stop();
         ReportTime(m_timer.Duration);
         m_timer = null;
     }
 }
コード例 #4
0
ファイル: CustomTimer.cs プロジェクト: omegahm/bohrium
 public DispTimer()
 {
     m_timer = new CustomTimer();
     m_timer.Start();
 }