void ReadResourcesAndStylesheet() { Resources = InterfaceResources.FromXml(ReadAllText("resources.xml")); XmlLoader = new UiXmlLoader(Resources); Stylesheet = (Stylesheet)XmlLoader.FromString(ReadAllText("stylesheet.xml"), null); LoadLibraries(); }
void OpenResources() { Resources = InterfaceResources.FromXml(ReadAllText("resources.xml")); LoadLibraries(); }