Friday, August 23, 2013

Passing data when you click a button?

Passing data when you click a button?

I have several buttons next to different types of textboxes throughout the
window that run the same type of flow. I have decided to clump all the
_click events into one event by adding comma delimiters with Handles. Is
there a way to tell which button was clicked through some property so that
I could enable only those specific textfields using a case statement or
something to that extent? Since it's all handled through one click
event(since i didnt want to make 10+ click events just to run the same
function that the other buttons run, save code and readability) is there
some way to find out which button was clicked ?

No comments:

Post a Comment