Esempio n. 1
0
        /// <summary>
        /// 控件4数据初始化
        /// </summary>
        /// <param name="groupIds">groups/[group_id]</param>
        /// <param name="imgs">groups/[img]</param>
        /// 注意groupIds和imgs要对应
        public M4(int[] groupIds, string[] imgs)
        {
            group_infos = new M4_GroupInfos()
            {
                groups = new List <GroupInfo>()
            };

            for (int i = 0; i < groupIds.Length; i++)
            {
                group_infos.groups.Add(new GroupInfo()
                {
                    group_id = groupIds[i], img = imgs[i]
                });
            }
            base.eid = 4;
        }
Esempio n. 2
0
        /// <summary>
        /// 控件4数据初始化
        /// </summary>
        /// <param name="groupIds">groups/[group_id]</param>
        /// <param name="imgs">groups/[img]</param>
        /// 注意groupIds和imgs要对应
        public M4(int[] groupIds,string[] imgs)
        {
            group_infos = new M4_GroupInfos()
                {
                    groups = new List<GroupInfo>()
                };

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