Пример #1
0
        public void dispose()
        {
            if (m_numObj != null)
            {
                m_numObj.dispose();
                m_numObj = null;
            }

            stopTimer();
            m_timerGo = null;
        }
Пример #2
0
        // 更新倒计时数字
        protected void updateDJSNum()
        {
            if (m_numObj == null)
            {
                m_numObj = new NumResItem();
                m_numObj.setParent(m_timerGo);
            }

            if (m_timer != null)
            {
                if (!m_timer.m_disposed)
                {
                    m_numObj.setNum((int)m_timer.m_curTime);
                }
                else
                {
                    //dispose();
                    m_numObj.disposeNum();
                }
            }
        }
Пример #3
0
        protected void testNum()
        {
            NumResItem num = new NumResItem();

            num.setNum(121);
        }