private static void AddSubitemsToControl(XmlNode subItemsNode, GUIControl control) { XmlNodeList subNodes = subItemsNode.SelectNodes("subitems/subitem/text()"); foreach (XmlNode subNode in subNodes) { string strSubItem = subNode.Value; if (Char.IsDigit(strSubItem[0])) { GUILocalizeStrings.LocalizeLabel(ref strSubItem); } control.AddSubItem(strSubItem); } }