Is there a way to get a form from a process handler? Something like that.
Form form = (Form)Form.FromHandle(_process.MainWindowHandle);
But that does not work.
According to this post , which only works for window descriptors belonging to your process. You cannot use Form.FromHandleto get a form from any other process.
Form.FromHandle
See also: How to use Control.FromHandle?
This can be done from within the process. Trying to capture Formor Controlfrom another process will not work.
Form
Control
, Form? , .
Source: https://habr.com/ru/post/1766434/More articles:The difference between Seq and Array for the array value is .netJavascript: persistence of window refrence object? - javascriptИзменение цвета div в икоте - htmlASP.NET Sessions across Multiple Domains - c #If I study Sinatra or Padrino, will it help me with Ruby on Rails? - ruby | fooobar.comCustom Image Upload Box in WordPress - wordpressAny game development docs using wpf / silverlight / remoting - c #How to overlay a picture on another? - javascriptПередача SQL в NHibernate Criteria APi - sqlBus error in cron operation - phpAll Articles