void contentMx_ImageLoadingRequest(object sender, LayoutFarm.ContentManagers.ImageRequestEventArgs e)
{
//load resource -- sync or async?
string absolutePath = documentRootPath + "\\" + e.ImagSource;
if (!System.IO.File.Exists(absolutePath))
{
return;
}
//load
System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(absolutePath);
e.SetResultImage(DemoBitmap.CreateFromGdiPlusBitmap(bmp));
}
void contentMx_LoadStyleSheet(object sender, LayoutFarm.ContentManagers.TextRequestEventArgs e)