Пример #1
0
 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;
 }
Пример #2
0
 private void Generate(NewGroupsSubSection subsection)
 {
     textWriter.WriteLine("  NEWGROUPS_BEGIN");
     foreach (NewGroup group in subsection.NewGroups)
     {
         Generate(group);
     }
     textWriter.WriteLine("  NEWGROUPS_END");
 }