static function for HTML Viewer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how should i instantiate viewer.parent?
thanks a lot!

private static void pSetupViewer()
{
pViewer = new HTMLViewer ();
pViewer.Parent = new _________;
// resize it
pViewer.Bounds = new Rectangle(10, 30, 230, 160);
string mLocalurl = "file://dir/a.html";
pViewer.Url = mLocalurl ;
}
 
Back
Top