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