Esempio n. 1
0
File: Form2.cs Progetto: vighnu/test
 private void Form2_Load(object sender, EventArgs e)
 {
     string url = @"local://web/index2.html";// @"file:///L:/Wales.co.in/index.html";
       _webControl = new ChromeWebControl(url);
       _webControl.Dock = DockStyle.Fill;
       _webControl.Show();
       this.containerPanel.Controls.Add(_webControl);
       _webControl.Browser.RegisterJsObject("callbackObj",new CallbackObjectForJs());
 }
Esempio n. 2
0
File: Form1.cs Progetto: vighnu/test
        private void Form1_Load(object sender, EventArgs e)
        {
            string url = @"local://web/index.html";// @"file:///L:/Wales.co.in/index.html";
              var chrome = new ChromeWebControl(url);
              chrome.Dock = DockStyle.Fill;
              chrome.Show();
              this.Controls.Add(chrome);

              //string page = string.Format("{0}HTMLEmbeddedResources/html/BootstrapExample.html", GetAppLocation());

             // m_chromeBrowser.Load(page);
        }