Very Simple question
-
I have an usercontrol with some controls and a hosting windows-form application which includes that usercontrol. I know how to handle the events in the usercontrol from the hosting application. I want to know if there is any way to handle events in the hosting application from the usercontrol? Please let me know
-
I have an usercontrol with some controls and a hosting windows-form application which includes that usercontrol. I know how to handle the events in the usercontrol from the hosting application. I want to know if there is any way to handle events in the hosting application from the usercontrol? Please let me know
Not unless the parent container hosting your control forwards you the events. Your user control should not know anything about the container that holds it. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome