Files
lserp_cs_6.0/插件库/Lskj.Control/BrowserSetting2/BsLifeSpanHandler.cs
T
cyf 52e6d8bd34 SVN r1163
SVN-Revision: r1163
2026-05-09 07:57:46 +00:00

29 lines
731 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Xilium.CefGlue;
namespace Lskj.Control.BrowserSetting2
{
public class BsLifeSpanHandler : CefLifeSpanHandler
{
private BsClient BsClient;
public BsLifeSpanHandler(BsClient bsClient)
{
BsClient = bsClient;
}
protected override void OnAfterCreated(Xilium.CefGlue.CefBrowser browser)
{
base.OnAfterCreated(browser);
BsClient.Created(browser);
}
protected override void OnBeforeClose(CefBrowser browser)
{
base.OnBeforeClose(browser);
}
}
}