Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ActionEventArgs is available for Led control but not for LedArray control

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
0 Kudos
Message 1 of 1
(1,590 Views)