/// <summary> /// Creates a virtual method when sub-groups are being created /// </summary> protected virtual void OnCreateGroup() { Group grp = new Group(Layers, MapFrame, ProgressHandler); grp.LegendText = "New Group"; }