Events, EventArgs and Buttons (R. Blinzler) - 8/18/2007 6:49 PM PST RRS feed

  • Question

  • By: R. Blinzler

    I have a large array of buttons that sit atop a graphical schematic of some 
    equipment. Each button represents an area on the equipment that gets measured 
    repeatedly and stored in a database. When the user clicks on the button, I 
    will eventually show a graph of the measurement the button represents.
    My question: I want to show the assigned name of the measurement (also 
    stored in a database) in a textblock as the user hovers the mouse over the 
    button. I've named the buttons so I can use the name to retrieve the correct 
    data. Is there a way to retrieve or pass the button name as an argument of 
    the event handler?
    Wednesday, February 20, 2008 1:37 AM