<snip/>
Why is that? If C# is modern language, why does it not have some very simple abilities that VB has had? It seems that if you want to have one procedure handle the click events for several buttons, that doing it this way is harder to read:
Whilst failing to answer your question completely, I'd like to say that using 1 event handler to handle events from multiple objects, and then doing something different for each is just plain daft. If you have different functional requirements for each button, then write a separate event handler for each. If you have some common requirements, then refactor that out into a worker function. John =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
