ATML1671Reader.controls.TestStationReferenceControl.testStationListControl_SelectedIndexChanged C# (CSharp) Method

testStationListControl_SelectedIndexChanged() private method

private testStationListControl_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void testStationListControl_SelectedIndexChanged( object sender, EventArgs e )
        {
            var item = testEquipmentListControl.SelectedObject as TestConfigurationTestEquipmentItem;
            if (item != null)
            {
                List<ItemDescriptionReference> instrumentation = item.Instrumentation;
                List<ItemDescriptionReference> resources = item.Resource;
                List<SoftwareInstance> software = item.Software;
                ProcessInstruments( instrumentation );
                ProcessResources( resources );
                ProcessSoftware( software );
            }
            SetControlStates();
        }