internal void Abort() { try { if (m_animationThread != null) { m_animationThread.Abort(); } } catch (Exception) { } }
private void mainForm_FormClosed(object sender, FormClosedEventArgs e) { m_animator.Abort(); s_instance = null; }