Exemple #1
0
        private void MainForm_RenderProcessTerminated(object sender, NetDimension.NanUI.Browser.RenderProcessTerminatedEventArgs e)
        {
            try
            {
                e.ShouldTryResetProcess = true;
                //MessageBox.Show("渲染进程异常终止");
                //Reload(true);
            }
            catch (Exception)
            {
            }

            // throw new NotImplementedException();
        }
Exemple #2
0
 // Raises if the render process is terminated. You can restart it or handle it by yourself.
 private void MainForm_RenderProcessTerminated(object sender, NetDimension.NanUI.Browser.RenderProcessTerminatedEventArgs e)
 {
     // Set this property to true to restart renderer process automaticlly.
     e.ShouldTryResetProcess = true;
 }