/* Creates a Program Group with the specified name and adds the group to the Collection of Program Groups */ public void createProgramGroup(string groupName) { ProgramGroup toBeAdded = new ProgramGroup(groupName, 100); toBeAdded.updateVolume(); programGroups.Add(toBeAdded); updateNumOfGroups(); }
/* * Creates a Program Group with the specified name and adds * the group to the Collection of Program Groups */ public void createProgramGroup(string groupName) { ProgramGroup toBeAdded = new ProgramGroup(groupName, 100); toBeAdded.updateVolume(); programGroups.Add(toBeAdded); updateNumOfGroups(); }
/* * Adds a Program Group to the Collection */ public void addProgramGroup(ProgramGroup toBeAdded) { toBeAdded.updateVolume(); programGroups.Add(toBeAdded); updateNumOfGroups(); }
/* Adds a Program Group to the Collection */ public void addProgramGroup(ProgramGroup toBeAdded) { toBeAdded.updateVolume(); programGroups.Add(toBeAdded); updateNumOfGroups(); }