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 ;
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top