Fired just before the parent form closes.
Parameters
None
Remarks
The OnParentClosing event fires just before the parent form (the form containing the Panel control) closes. This allows you to clean up anything before the window actually closes. For example, you could call RemoveForm to make sure everything is cleanly shutdown, since embedded forms can occasionally cause problems since OI assumes their not children of other OI forms.