提交当前本机整理版本

This commit is contained in:
cyf
2026-07-02 10:11:39 +00:00
parent c10a5d64c7
commit aacefa24f8
822 changed files with 196665 additions and 14263 deletions
@@ -73,4 +73,34 @@ namespace Lskj.Control.BrowserSetting
System.Diagnostics.Process.Start(processStartInfo);
}
catch (Exception ex)
{
System.Windows.Forms.MessageBox.Show(
"打开打印程序失败:" + ex.Message,
"提示",
System.Windows.Forms.MessageBoxButtons.OK,
System.Windows.Forms.MessageBoxIcon.Warning);
}
return true;
}
}
internal sealed class BsExternalProtocolResourceRequestHandler : CefResourceRequestHandler
{
protected override CefCookieAccessFilter GetCookieAccessFilter(CefBrowser browser, CefFrame frame, CefRequest request)
{
return null;
}
protected override void OnProtocolExecution(CefBrowser browser, CefFrame frame, CefRequest request, ref bool allowOsExecution)
{
if (BsExternalProtocolHandler.IsPrintProtocol(request.Url))
{
allowOsExecution = true;
return;
}
base.OnProtocolExecution(browser, frame, request, ref allowOsExecution);
}
}
}