public static bool updateXmlText(XmlControl xmlCtrl, XmlDocument newDoc) { xmlCtrl.m_xmlDoc = newDoc; xmlCtrl.refreshControl(); return false; }