コード例 #1
0
ファイル: WindowlessWebView.cs プロジェクト: jingyiliu/CefNet
        public WindowlessWebView(WindowlessWebView opener)
        {
            if (opener != null)
            {
                this.Opener          = opener;
                this.BrowserSettings = opener.BrowserSettings;
            }

            using (var windowInfo = new CefWindowInfo())
            {
                Initialize(windowInfo);
            }
        }
コード例 #2
0
        public WindowlessWebView(WindowlessWebView opener)
        {
            if (opener != null)
            {
                this.Opener          = opener;
                this.BrowserSettings = opener.BrowserSettings;
            }

            using (var windowInfo = new CefWindowInfo())
            {
                InitializeInternal(windowInfo);
            }
            SetState(State.Creating, true);
        }