Example #1
0
 public void ShowDevTools()
 {
     if (cefDevWindow == null)
     {
         cefDevWindow = new MyCefDevWindow();
         IWindowForm devForm = Cef3Binder.CreateBlankForm(800, 600);
         devForm.Text = "Developer Tool";
         devForm.Show();
         Cef3Binder.MyCefShowDevTools(this.myCefBrowser,
                                      cefDevWindow.GetMyCefBrowser(),
                                      devForm.GetHandle());
     }
 }
Example #2
0
 public void ShowDevTools()
 {
     if (devForm == null)
     {
         devForm      = Cef3Binder.CreateBlankForm(800, 600);
         devForm.Text = "Developer Tool";
         devForm.Show();
         devForm.FormClosed += DevForm_FormClosed;
     }
     if (cefDevWindow == null)
     {
         cefDevWindow = new MyCefDevWindow();
         Cef3Binder.MyCefShowDevTools(_myCefBw.ptr,
                                      cefDevWindow.GetMyCefBrowser(),
                                      devForm.GetHandle());
     }
 }
Example #3
0
 private void DevForm_FormClosed(object sender, EventArgs e)
 {
     devForm      = null;
     cefDevWindow = null;
 }