示例#1
0
        internal void OnBrowserCrashed(CfxBrowser browser, CfxTerminationStatus status)
        {
            var args = new BrowserCrashedArgs(browser, status);

            BrowserCrashed?.Invoke(this, args);

            if (args.Handled)
            {
                return;
            }

            browser.Reload();
        }
示例#2
0
 public BrowserCrashedArgs(CfxBrowser browser, CfxTerminationStatus status)
 {
     Browser = browser;
     Status  = status;
 }