private void embeddedFileBtn_Click(object sender, EventArgs e) { Assembly assembly = GetType().Assembly; string xml = NResourceHelper.ReadTextResource(assembly, "ExamplesTree.xml", "Nevron.Examples.UI.WinForm.Resources"); XmlDocument doc = new XmlDocument(); doc.LoadXml(xml); nTreeViewEx1.DisplayXml(doc); //this.nTreeViewEx1.SaveToXml(@"C:\Test.xml"); }