コード例 #1
0
        //BSCompletionCallback bsc = new BSCompletionCallback();
        //BSSetCookieCallback bscc = new BSSetCookieCallback();
        public BsCtl(Control ctl, string url, string type)
        {
            Parent = ctl;
            var cwi = CefWindowInfo.Create();

            cwi.SetAsChild(Parent.Handle, new CefRectangle(0, 0, Parent.Width, Parent.Height));
            var bc = new BsClient(type, ctl);

            bc.OnCreated += bc_OnCreated;
            var bss = new CefBrowserSettings()
            {
            };

            CefBrowserHost.CreateBrowser(cwi, bc, bss, url);//,rc);
            Parent.SizeChanged += Parent_SizeChanged;
        }
コード例 #2
0
 public BsLifeSpanHandler(BsClient bc)
 {
     bClient = bc;
 }