USER CONTROL shutdown...

  • Thread starter Thread starter Me
  • Start date Start date
M

Me

Hello,

The user control will be used in multiple parent forms
and I would like a way to be notified of when a user
controls is "going away" (independent of the parent)

I would also like to access controls ( edit boxes etc )
on the user control at the notification moment, AND also
be able to "contact" the parent form to acess the
parent's forms controls ( edit boxes etc ) at the same
time.

Thanks
Mike
 
Hello,

You can try overriding the control's Dispose method, but I am not sure
whether parent form's/child controls are available at this point.
 
Back
Top