2 Controls, 1 event
Posted
by DTown
on Stack Overflow
See other posts from Stack Overflow
or by DTown
Published on 2010-05-21T16:31:30Z
Indexed on
2010/05/21
16:40 UTC
Read the original article
Hit count: 183
I have 2 input textboxes that take a host or IP. When the user leaves an input box an event is fired that checks the input to see if it is actually a live computer. The results are then put into the appropriate label.
My question is, should I be using separate events for each input box, since they update different labels? Or, can I use 1 event and check who the caller was, then update the appropriate label?
© Stack Overflow or respective owner