VB.NET Implementing Me.Parent property on class.
Posted on 2006-11-30
From a user control we can use the me.Parent property to access the properties and methods of the form which holds the user control.
Can anyone give an example of how this could be done on our own classes? I know we could just have a Parent property of the object and pass a reference of the parent into the constructor, however this would create a copy of the parent object into a private variable within the child. Is there a way to only hold a reference to the parent, then when using any of its functions etc use the actual parent object?