对于C#,鼠标关闭Web浏览器
问题描述:
我想知道如何关闭网络浏览器(在鼠标指针下做某事...)
I want to know how to close web browser (under mouse point which do something...)
答
如果我理解正确,则想知道如何在后面的代码中检测客户端用户关闭浏览器窗口的操作.
没有直接可用来检测到此事件的事件.我也希望也有:(.
关于您可能发现的最接近的东西,是在这里!
If I understand correctly, you want to know how to detect the client user action of closing a browser window in your code behind.
There is no event directly by which you can detect this. I have wished there was, too :(.
About the closest thing you may find is here!