If I add a NationalInstruments.UI.WindowsForms.Led control to a Visual Studio Forms project and double click it I get the following handler :
private void m_dcLed_StateChanged(object sender, ActionEventArgs e)
{
}
If I add a NationalInstruments.UI.WindowsForms.LedArray control to a Visual Studio Forms project and double click it I get the following handler :
private void ledArray1_ValuesChanged(object sender, EventArgs e)
{
}
I want to know if the user clicked the LedArray control or if it was updated programmatically. The ActionEventArgs works perfectly for this. How do I get this functionality with the LedArray control when it only returns a generic EventArgs? Can I get the ActionEventArgs functionality from Eventargs?
Grant
Grant M. Johnson
Project Engineer
LECO Corporation