private contentMx_LoadStyleSheet ( object sender, LayoutFarm e ) : void | ||
sender | object | |
e | LayoutFarm | |
return | void |
void contentMx_LoadStyleSheet(object sender, LayoutFarm.ContentManagers.TextRequestEventArgs e)
{
string absolutePath = documentRootPath + "\\" + e.Src;
if (!System.IO.File.Exists(absolutePath))
{
return;
}
//if found
e.TextContent = System.IO.File.ReadAllText(absolutePath);
}
}