2
Reply

Reflection-dynamic method call for all click events

sunil kumar

sunil kumar

Nov 24 2010 2:20 AM
13.4k
Hello all,

       I have a 10 buttons in my form,each button having a individual click events.when I click any button ,I want to call one method dynamically,in this method I can check the button name.how to achieve this task.Its very frustrating.please help me....

      For this we can give the multi case delegate,I have to register for each button individually for this button.without using this how to acieve dynamically...

Thanks,
Sunny 

Answers (2)