( Not on click of cross button)
I have launched it inside a desktop application.
you can read doc of corresonding method here https://github.com/cefsharp/CefSharp/blob/master/CefSharp/Handler/ILifeSpanHandler.cs
You can use selenium for close
if you started it with Process.Start, you should be able to get the MainWindowHandle through the Process object, and send a close command to it
Hey Wizou.Thanks.this gave me a hint.thanks again bro
Обсуждают сегодня