public void Kill()
        {
            isDrawing = true;
            fpsTimer.Stop();
            statusTimer.Stop();

            statusLight.Dispose();
            statusDark.Dispose();
            statusFont.Dispose();

            fpsLight.Dispose();
            fpsDark.Dispose();
            fpsFont.Dispose();
        }
Exemple #2
0
        //----------------------------------------------------------------------------
        //----------------------------------------------------------------------------
        public override void Dispose(bool bDisposing)
        {
            if (bDisposing)
            {
                m_sprite     = null;
                m_szFontName = "";

                if (m_textSprite != null)
                {
                    m_textSprite.Dispose();
                    m_textSprite = null;
                }
            }

            base.Dispose(bDisposing);
        }