private void Generate(BitmapsSubSection subsection) { textWriter.WriteLine(" BITMAPS_BEGIN"); if (subsection.Bitmaps != null) { foreach (CTCBitmap bitmap in subsection.Bitmaps) { if (bitmap.Images.Count > 0) { Generate(bitmap); } } } textWriter.WriteLine(" BITMAPS_END"); }
public CMDSSection(Guid package, MenusSubSection menus, NewGroupsSubSection groups, ButtonsSubSection buttons, BitmapsSubSection bitmaps) { this.packageGuid = package; this.menusSubSection = menus; this.newGroupsSubSection = groups; this.buttonsSubSection = buttons; this.bitmapsSubSection = bitmaps; }