예제 #1
0
 private void chromiumWebBrowser_TitleChanged(object sender, CefSharp.TitleChangedEventArgs e)
 {
     this.Invoke(new MethodInvoker(() =>
     {
         string sMsg = string.Format("chromiumWebBrowser_TitleChanged :{0} ", e.Title);
         Console.WriteLine(sMsg);
     }));
 }
예제 #2
0
 private void MWebBrowser_TitleChanged(object sender, CefSharp.TitleChangedEventArgs e)
 {
     if (null == titleChangeMethod)
     {
         titleChangeMethod = new OnTitleChanged(onTitleChanged);
     }
     lblTitle.Invoke(titleChangeMethod, e.Title);
 }
예제 #3
0
 private void WebBrowser_TitleChanged(object sender, CefSharp.TitleChangedEventArgs e)
 {
     Invoke((MethodInvoker) delegate
     {
         Text         = e.Title + " - Web Browser Provided by Buddhalow";
         CurrentTitle = e.Title;
     });
 }
예제 #4
0
        private void OnTitleChanged(object sender, CefSharp.TitleChangedEventArgs e)
        {
            if (!canReceiveNotifications || this.Text.Equals(e.Title) || (ThreemaDesktop.ActiveForm == this))
            {
                return;
            }

            this.Invoke(new Action(() =>
            {
                this.Text = e.Title;
                notifyIcon.BalloonTipTitle = e.Title;
                notifyIcon.BalloonTipText  = "New Message";
                notifyIcon.ShowBalloonTip(2500);
            }));
        }
예제 #5
0
 private void cefWebBrowerX_TitleChanged(object sender, CefSharp.TitleChangedEventArgs e)
 {
     this.InvokeOnUiThreadIfRequired(new Action(() =>
     {
         var item = GetTabItem((CefWebBrowserX)sender);
         if (item != null)
         {
             item.Text    = e.Title;
             item.Tooltip = e.Title;
             if (TitleChanged != null)
             {
                 TitleChanged(item, e);
             }
         }
     }));
 }
예제 #6
0
 void IDisplayHandler.OnTitleChanged(IWebBrowser browserControl, TitleChangedEventArgs args)
 {
     ActionExtension.InvokeInMainThreadAsync(() => TitleChanged?.Invoke(this, new Web.TitleChangedEventArgs(args.Title ?? string.Empty)));
 }
 private void browser_TitleChanged(object sender, TitleChangedEventArgs e)
 {
     if (InvokeRequired)
     {
         Invoke(new MethodInvoker(() => { browser_TitleChanged(sender, e); }));
     }
     else
     {
         this.Text = e.Title;
     }
 }
예제 #8
0
 public void OnTitleChanged(IWebBrowser browserControl, TitleChangedEventArgs titleChangedArgs)
 {
 }
예제 #9
0
 private void View_TitleChanged(object sender, CefSharp.TitleChangedEventArgs e)
 {
     tabs.main.SetTabTitle(e.Title, tabIndex);
 }
예제 #10
0
 private void OnBrowserTitleChanged(object sender, TitleChangedEventArgs args)
 {
     this.InvokeOnUiThreadIfRequired(() => Text = args.Title);
 }
예제 #11
0
 void IDisplayHandler.OnTitleChanged(IWebBrowser browserControl, TitleChangedEventArgs titleChangedArgs)
 {
 }
예제 #12
0
파일: Form1.cs 프로젝트: senips/ceftest
 private void C_TitleChanged(object sender, TitleChangedEventArgs e)
 {
     this.InvokeOnUiThreadIfRequired(() => Text = e.Title);
 }
예제 #13
0
 private void Browser_TitleChanged(object sender, TitleChangedEventArgs e)
 {
     this.InvokeIfRequired(() => Title = e.Title);
 }
예제 #14
0
 void BrowserTitleChanged(object sender, TitleChangedEventArgs e)
 {
     LogMessage("TITLE CHANGED: " + e.Title);
 }
예제 #15
0
 private void OnBrowserTitleChanged(object sender, TitleChangedEventArgs args) {
     //this.Invoke(() => Text = args.Title);
 }
예제 #16
0
 private void Browser_TitleChanged(object sender, TitleChangedEventArgs e)
 {
     SetTitle(e.Title);
 }
예제 #17
0
		protected void OnBrowserTitleChanged(object sender, TitleChangedEventArgs args)
		{
			((Control)browser).BeginInvoke(() => Subname = args.Title);
		}