void MainForm_Shown(object sender, EventArgs e)
        {
            WebBrowser        = new CefWebBrowser("http://google.com");
            WebBrowser.Parent = MainForm;
            WebBrowser.Dock   = DockStyle.Fill;
            WebBrowser.WaitForLoadCompletion();
            WebBrowser.BeforeResourceLoadHandler = this;

            waitCreated.Set();
        }
Beispiel #2
0
        void MainForm_Shown(object sender, EventArgs e)
        {
            WebBrowser = new CefWebBrowser("http://google.com");
            WebBrowser.Parent = MainForm;
            WebBrowser.Dock = DockStyle.Fill;
            WebBrowser.WaitForLoadCompletion();
            WebBrowser.BeforeResourceLoadHandler = this;

            waitCreated.Set();
        }