protected override void OnStartDemo(SampleViewport viewport)
{
var appPath = System.Windows.Forms.Application.ExecutablePath;
int pos = appPath.IndexOf("\\bin\\");
if (pos > -1)
{
string sub01 = appPath.Substring(0, pos);
imgFolderPath = sub01 + "\\images";
}
//==================================================
//html box
var htmlBox = new HtmlBox(GetHtmlHost(viewport), 800, 600);
viewport.AddContent(htmlBox);
string html = "<html><head></head><body><div>OK1</div><div>3 Images</div><img src=\"sample01.png\"></img><img src=\"sample01.png\"></img><img src=\"sample01.png\"></img></body></html>";
htmlBox.LoadHtmlString(html);
}