I hate C#'s Event Handling

time to read 1 min | 86 words

I just tried to do:

 

if(item.Click==null)

//show disabled

 

I can’t do this because you can only subscribe / unsubscribe from events, and item is a Control, so I have no way of knowing (in a dynamic app), whatever someone is interested in a control or not. Argh!