I have a windows form with a button on it and I only want that button to be visible, if the form that calls it, has subscribed to one of the forms custom events.
I know I can check whether myEvent == null, but what if the event is subscribed to after the form has been loaded?
Is this possible?
(Perhaps just a timer on the form, continually checking whether the event is null?? (sounds messy though)