Example #1
0
        public void AddProfile(UInt32 profileID, string name)
        {
            if (!m_Profiles.Contains(profileID))
            {
                ProfileDesc desc = new ProfileDesc();
                desc.Name = name;

                desc.Color            = Color.FromArgb(141 + (((int)profileID & 0xff) / 3), 140 + ((((int)profileID & 0xff00) >> 8) / 3), 140 + ((((int)profileID & 0xff0000) >> 16) / 3));
                m_Profiles[profileID] = desc;
            }
        }
Example #2
0
            public void Test1()
            {
                ProfileDesc details = new ProfileDesc();

                details.profiledata();
            }