Beispiel #1
0
		public void DoTimer(TimeSpan delay)
		{
			if (!m_Running)
				return;

			m_End = DateTime.Now + delay;

			if (m_Timer != null)
				m_Timer.Stop();

			m_Timer = new InternalTimer2(this, delay);
			m_Timer.Start();
		}
Beispiel #2
0
		public void DoTimer2(TimeSpan delay)
		{
			if (m_BlinkTimer != null)
				m_BlinkTimer.Stop();
			m_BlinkTimer = new InternalTimer2(this, delay);
			m_BlinkTimer.Start();
		}