private void Generate(ButtonsSubSection subsection) { textWriter.WriteLine(" BUTTONS_BEGIN"); foreach (Button button in subsection.Buttons) { Generate(button); } textWriter.WriteLine(" BUTTONS_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; }