Пример #1
0
        protected override void OnHandleCreated(EventArgs e)
        {
            base.OnHandleCreated(e);
            WebBrowserCore = new BrowserCore(this, BrowserHostWindow.StartUrl);
            WebBrowserCore.BrowserCreated += BrowserCreated;
            var windowInfo = new CfxWindowInfo();

            windowInfo.SetAsChild(Handle, 0, 0, Width, Height);
            WebBrowserCore.Create(windowInfo);
        }