Gets the System.Windows.Forms.Form that contains this control.
A System.Windows.Forms.Form that is the container for this control. Returns null if the System.Windows.Forms.MainMenu is not currently hosted on a form.
This property enables you to determine if a specific System.Windows.Forms.MainMenu is parented to a form. The property is typically used when multiple System.Windows.Forms.MainMenu objects are being used on a form and you need to determine which one is currently being used by a form.