Gets the optional main form owned by the application.
Returns
The optional main form.
Remarks
The return value doesn't necessarily contain the main form, as an application doesn't always have a main form. In fact, the xtd::forms::application method can be called with the xtd::forms::application_context class, which doesn't contain a main form.