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