示例#1
0
 void browser_FrameLoadStart(object sender, FrameLoadStartEventArgs e)
 {
     Console.WriteLine("FrameLoadStart");
 }
示例#2
0
 private void WebView_FrameLoadStart(object sender, FrameLoadStartEventArgs e)
 {
     Dispatcher.BeginInvoke((Action) (() =>
     {
         RefreshImage.Source = stopBtn;
         refreshing = true;
         startPage.Visibility = Visibility.Hidden;
     }));
 }
示例#3
0
 private void WebBrowser_FrameLoadStart(object sender, CefSharp.FrameLoadStartEventArgs e)
 {
     //throw new NotImplementedException();
 }
示例#4
0
 private void ChromeBrowser_FrameLoadStart(object sender, CefSharp.FrameLoadStartEventArgs e)
 {
     _loadComplete = false;
 }
 private async void host_FrameLoadStart(object sender, FrameLoadStartEventArgs e)
 {
     var fontSize = await Dispatcher.InvokeAsync(() => FontSize);
     UpdateZoomLevel(fontSize);
 }
示例#6
0
 private void browser_FrameLoadStart(object sender, FrameLoadStartEventArgs e)
 {
     WriteLog(String.Format("{3}:\r\nBrowser: {0}\r\nFrame: {1}\r\nUrl:{2}", e.Browser, e.Frame, e.Url, System.Reflection.MethodBase.GetCurrentMethod().Name));
 }
 /// <summary>
 /// The query results web browser_ on frame load start.
 /// </summary>
 /// <param name="sender">
 /// The sender.
 /// </param>
 /// <param name="e">
 /// The e.
 /// </param>
 private void QueryResultsWebBrowser_OnFrameLoadStart(object sender, FrameLoadStartEventArgs e)
 {
     this.Dispatcher.Invoke(
         delegate
         {
             this.queryResultsWebBrowser.Visibility = Visibility.Collapsed;
             LoadingTextBlock.Visibility = Visibility.Visible;
         });
 }
示例#8
0
 private void OnFrameLoadStart(object sender, FrameLoadStartEventArgs e) {
     if (e.Frame.IsMain) {
         Application.Current.Dispatcher.InvokeAsync(() => {
             Navigating?.Invoke(this, PageLoadingEventArgs.Indetermitate);
         });
     }
 }
示例#9
0
 private async void WebView_FrameLoadStart(object sender, FrameLoadStartEventArgs e)
 {
     await Dispatcher.BeginInvoke((Action) (() =>
     {
         try
         {
             RefreshButton.ImageSource(StopButton);
             refreshing = true;
             startPage.Visibility = Visibility.Hidden;
         }
         catch (Exception ex)
         {
             Console.WriteLine("WebView framestart error: " + ex.Message + " " + ex.Data);
         }
     }));
 }