Esempio n. 1
0
        public XmlBackground(BackgroundList b, int addlevel)
        {
            m_Background = b;
            m_Level = addlevel;

            if (m_Level < 0)
                Name = (m_Background.ToString() + " " + m_Level.ToString());
            else
                Name = (m_Background.ToString() + " +" + m_Level.ToString());
        }
Esempio n. 2
0
        public XmlBackground(BackgroundList b, int addlevel, int duration)
        {
            m_Background = b;
            m_Level = addlevel;
            Expiration = TimeSpan.FromMinutes(duration);

            if (m_Level < 0)
                Name = (m_Background.ToString() + " " + m_Level.ToString());
            else
                Name = (m_Background.ToString() + " +" + m_Level.ToString());
        }