How to capture Winform UserControl Events without using Delegates
Posted on 2009-05-15
I have 2 UserControls on a Winforms Main form. I need to capture events from one usercontrol without using delegates and events, possibly with an Observer Pattern mechanism, but how to do this?
I don't want the Mainform to be aware of the communication mechanism between usercontrols, and I can't require that either usercontrol is listening to the other or guarentee that both Usercontrols are even loaded.
Anybody have exprience with the Observer pattern or know some other way to do this?