I am coding a user control. On that user control I have a dynamically created 2D array of buttons. What I want is for the user control to have a function that takes a parameter (callback function) so that when one of the buttons on the user control is clicked the callback function on the container form will be called.
This way the click event code will be written in the current project instead of the user having to modify the code in the user control.

Does that make sense?