Gets the main Form of a process.
| Exception | Condition |
|---|---|
| ArgumentNullException | If process is null. |
| RanorexException | If getting the process Id from process fails. |
| ElementNotFoundException | If no Form belonging to the
specified process is found within the DefaultSearchTimeout. |
