private void DataToControls()
{
Items.Clear();
if (CapabilityMapMode)
{
if (_mapping != null)
{
foreach (Network network in _mapping.Map)
AddListViewObject( network );
}
}
else if (_hardwareItemDescription != null && _hardwareItemDescription.NetworkList != null)
{
foreach (Network network in _hardwareItemDescription.NetworkList)
AddListViewObject( network );
}
}