put it in its own class file, compile the project. Then WebBrowserEx will show up in your toolbox, so you can drag to a form like the regular browser.