T
Tom
This seems like a dumb question, but here goes: In my own VB.NET user
control, how do I gain access to the user controls parent? (i.e. the form
that is hosting the user control) For instance, in the control I want to set
the focus back to the main form that has the user control. Most other
classes/controls seem to have a Parent but not a user control.
I could, of course, pass a reference of the main form to the user control,
but this seems like overkill. Any other way? Thanks....
Tom
control, how do I gain access to the user controls parent? (i.e. the form
that is hosting the user control) For instance, in the control I want to set
the focus back to the main form that has the user control. Most other
classes/controls seem to have a Parent but not a user control.
I could, of course, pass a reference of the main form to the user control,
but this seems like overkill. Any other way? Thanks....
Tom