Example #1
0
        private TileGroup AddAppGroup(IAppGroup appGroup)
        {
            if (!DicTileGroups.ContainsKey(appGroup.Id))
            {
                var tileGroup2 = new TileGroup
                {
                    Name = appGroup.Name,
                    Tag  = appGroup.Id
                };
                tileControl1.Groups.Add(tileGroup2);

                DicTileGroups.Add(appGroup.Id, tileGroup2);
            }

            return(DicTileGroups[appGroup.Id]);
        }
Example #2
0
        private TileGroup AddAppGroup(IAppGroup appGroup)
        {
            if (!DicTileGroups.ContainsKey(appGroup.Id))
            {
                var tileGroup2 = new TileGroup
                {
                    Name = appGroup.Name,
                    Tag = appGroup.Id
                };
                tileControl1.Groups.Add(tileGroup2);

                DicTileGroups.Add(appGroup.Id, tileGroup2);
            }

            return DicTileGroups[appGroup.Id];
        }