I write a bot on c # that surfs the surfing sites on my own, using the CefSharp library. Some of the sites should periodically open up a “new tab”, but in our case a new process “CefSharp.BrowserSubprocess.exe” is launched and some form to interact with. With that, if you just close the browser process, then there will be such an empty window. enter image description here

It closes only with the main program, but it does not appear in the processes either, so this is a child form.

How to get control over this window or its contents?

It is desirable to place the control of this window into the tab page of the main program.

Maybe there is a method that works when creating child forms / windows?

  • Are the child windows always the same? - Monomax
  • @VladimirT not, their n-number. - user269990
  • can the code, how do you run this window? - Monomax
  • @VladimirT window launch initiation comes from a web page where I am through CefSharp. My program doesn’t register its launch. - user269990
  • What thread Application.OpenForms does not return anything useful? - tym32167

0