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]); }
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]; }