public void Go()
 {
     if (_webBrowser != null)
     {
         _webBrowser.Load(Address);
     }
 }
Пример #2
0
 private void OnBrowserCreated(object sender, IWpfWebBrowser browser)
 {
     browser.RegisterJsObject("act", new BrowserBindings());
     // FIXME: Make it possible to create more than one window.
     // Tie loading html to the browser window creation and bindings to the
     // browser creation.
     browser.Load(settingsTab.HTMLFile());
 }