public HtmlPanel(PixelFarm.Drawing.GraphicsPlatform p, int w, int h)
{
AutoScroll = true;
BackColor = SystemColors.Window;
SetStyle(ControlStyles.ResizeRedraw, true);
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
this.gfxPlatform = p;
this.renderCanvas = gfxPlatform.CreateCanvas(0, 0,
this.canvasW = w, this.canvasH = h);
}
public HtmlHost HtmlHost