Provides data for the WebKitBrowser.NewWindowCreated event.
상속: System.EventArgs
예제 #1
0
파일: FmMain.cs 프로젝트: vkyczh/Recorder
 private void Browser_NewWindowCreated(object sender, NewWindowCreatedEventArgs e)
 {
     FmTabBase.Default.AddTab(e.WebKitBrowser);
     if (!FmTabBase.Default.Visible)
     {
         FmTabBase.Default.Show();
     }
 }
예제 #2
0
파일: MainForm.cs 프로젝트: thinhils/Nikita
 private void webKitBrowser1_NewWindowCreated(object sender, WebKit.NewWindowCreatedEventArgs e)
 {
     AddTab(e.WebKitBrowser);
 }
예제 #3
0
 void browser_NewWindowCreated(object sender, NewWindowCreatedEventArgs args)
 {
     tabControl.TabPages.Add(new WebBrowserTabPage((WebKitBrowser)args.WebKitBrowser, false));
 }
예제 #4
0
 private void webKitBrowser1_PopupCreated(object sender, NewWindowCreatedEventArgs e)
 {
     if (blockPopupsToolStripMenuItem.Checked)
         MessageBox.Show("A popup has been blocked");
     else
     {
         Form f = new Form();
         f.Show();
         WebKitBrowser wb = e.WebKitBrowser;
         wb.AllowDownloads = true;
         wb.Visible = true;
         wb.Name = "browser";
         wb.Dock = DockStyle.Fill;
         wb.DocumentTitleChanged += new EventHandler(wb_DocumentTitleChanged);
         wb.FaviconAvailable += new FaviconAvailable(wb_FaviconAvaiable);
         f.Controls.Add(wb);
     }
 }