private void DataToControls() { if (ports != null) { Items.Clear(); foreach (Port port in ports) AddListViewObject(port); } }