Esempio n. 1
0
        /// <summary>
        /// 控件5数据初始化
        /// </summary>
        /// <param name="groupIds">groups/[group_id]</param>
        /// <param name="imgBackground">groups/img_background</param>
        public M5(int[] groupIds, string imgBackground)
        {
            group_infos = new M5_GroupInfos()
            {
                groups         = new List <Group>(),
                img_background = imgBackground
            };

            for (int i = 0; i < groupIds.Length; i++)
            {
                group_infos.groups.Add(new Group()
                {
                    group_id = groupIds[i]
                });
            }
            base.eid = 4;
        }
Esempio n. 2
0
        /// <summary>
        /// 控件5数据初始化
        /// </summary>
        /// <param name="groupIds">groups/[group_id]</param>
        /// <param name="imgBackground">groups/img_background</param>
        public M5(int[] groupIds, string imgBackground)
        {
            group_infos = new M5_GroupInfos()
            {
                groups = new List<Group>(),
                img_background = imgBackground
            };

            for (int i = 0; i < groupIds.Length; i++)
            {
                group_infos.groups.Add(new Group() { group_id = groupIds[i] });
            }
            base.eid = 4;
        }