private static void checkSkinLink(XmlControl xmlCtrl, XmlElement xeUiCtrl, bool isAll = true) { string skinName = xeUiCtrl.GetAttribute("skin"); if (skinName != "") { Project.Setting.refreshSkinIndex(); xmlCtrl.checkSkinLinkAndAddSkinGroup(skinName); } if (isAll) { foreach (XmlNode xn in xeUiCtrl.ChildNodes) { if (xn is XmlElement) { checkSkinLink(xmlCtrl, (XmlElement)xn, isAll); } } } }