Example #1
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();
                }
            }
        }
Example #2
0
        protected void testNum()
        {
            NumResItem num = new NumResItem();

            num.setNum(121);
        }