// ---------------------------------------------- // Private methods // ---------------------------------------------- private void DoTimer(TimeSpan delay) { m_MorphEnd = DateTime.Now + delay; if (m_MorphTimer != null) { m_MorphTimer.Stop(); } m_MorphTimer = new MorphTimer(this, delay); m_MorphTimer.Start(); }
// ---------------------------------------------- // Private methods // ---------------------------------------------- private void DoTimer(TimeSpan delay) { this.m_MorphEnd = DateTime.UtcNow + delay; if (this.m_MorphTimer != null) { this.m_MorphTimer.Stop(); } this.m_MorphTimer = new MorphTimer(this, delay); this.m_MorphTimer.Start(); }
// ---------------------------------------------- // Private methods // ---------------------------------------------- private void DoTimer(TimeSpan delay) { m_MorphEnd = DateTime.UtcNow + delay; if (m_MorphTimer != null) { m_MorphTimer.Stop(); } m_MorphTimer = new MorphTimer(this, delay); m_MorphTimer.Start(); }
// ---------------------------------------------- // Private methods // ---------------------------------------------- private void DoTimer(TimeSpan delay) { this.m_MorphEnd = DateTime.Now + delay; if (this.m_MorphTimer != null) this.m_MorphTimer.Stop(); this.m_MorphTimer = new MorphTimer(this, delay); this.m_MorphTimer.Start(); }