user controls - pass button click event through several usercontrols to a form and let another usercontrol know the button clicked -


i know sounds complex thats true. have winform(clientfile) in project. uses usercontrol in project. usercontorl financialmanager.it initialized in constructor.

in financialmanager, there child usercontrol(financialservice) initialized in constructor too.

in financialservice, has button , in button click event, initialized last usercontrol(financialitem).

i need use winform , c# let usercontrol(timecontrol) in clientfile(initialized in page_load) know button in financialitem clicked.

is there way it? if can give sample code, perfect.

thank you.

by way, usercontrols in 1 project. except usercontrol(timecontrol).

since can control code in own usercontrols, seems me want add custom event in 1 of usercontrols. diferent code can subscribe event , know if event triggered.

...but bit hard understand wanted...

look basic event tutorial, , you're go.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -