Handling Multiple Events with One Event Handler
01/27/2016
|
0:06:57
Using one procedure to handle multiple events. Shell program available at http://bowerpower.net/compprog1/vb06/StateCapitals.zip
Handling Multiple Events with One Event Handler
Created: 01/27/2016
0:00:36
Adding multiple event handlers to one procedure (in this program, putting the same code from five button click events in just one button click event)
0:04:04
Using the Tag property of a button
0:04:47
Determining which button was clicked using sender - notice the (sender as Object, e as EventArgs)
0:05:30
Getting the city name from the Tag property