protected override void DataToControls() { base.DataToControls(); if (_item != null) { var tb = _item as TestEquipmentTerminalBlocksTerminalBlock; if (tb != null && tb.Interface != null) InterfaceportList.Ports = tb.Interface.Ports; } }