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; }
private void Generate(MenusSubSection subsection) { textWriter.WriteLine(" MENUS_BEGIN"); foreach (MenuGroup menu in subsection.Menus) { Generate(menu); } textWriter.WriteLine(" MENUS_END"); }