Occurs when the Parent property value changes.
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
The following example shows how to respond to the ParentChanged event in an event handler. This example requires that you have an OvalShape control named OvalShape1 on a form.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.