You can only get the form as a control if the corresponding form was generated by your application. You cannot get the form from another process, because your parent process does not know about the mapping Control mapping handle of the child process.
If you just want to βstopβ the child process ( form.close() ?), You can simply stop the complete process. Either "Clear" or by force:
process.CloseMainWindow() vs process.kill()
dognose
source share