I'm working with a bit of code that is structured thusly:
Form A has user controls B and G within it. User control B has User control D within it, and user control D has a "refresh" method. User control G has user control F within it, and user control F needs to call the "refresh" method in D.
1) Short of restructuring the code (It's legacy code, so it's off the table as an option), are delegates the best way to go about handling this issue? If not, do you have another suggestion?
2) I have no experience with delegate functions -- is there a good primer or example that I could use to adapt to my code to achieve the desired functionality?