Beispiel #1
0
 private void Browser_LoadError(object sender, LoadErrorEventArgs e)
 {
     try
     {
         BrowserError?.Invoke(sender, new BrowserErrorEventArgs(e.ErrorCode, e.ErrorText, e.FailedUrl));
     } catch (Exception ex)
     {
         BrowserConsoleLog?.Invoke(this, new BrowserConsoleLogEventArgs(ex.ToString(), "", 1));
     }
 }
Beispiel #2
0
 internal void OnError(CefErrorCode errorCode, string errorText, string failedUrl)
 {
     BrowserError?.Invoke(this, new BrowserErrorEventArgs(errorCode, errorText, failedUrl));
 }
Beispiel #3
0
 private void Browser_LoadError(object sender, LoadErrorEventArgs e)
 {
     BrowserError?.Invoke(sender, new BrowserErrorEventArgs(e.ErrorCode, e.ErrorText, e.FailedUrl));
 }