private void DataToControls() { Items.Clear(); if (_capabilityItems != null) { foreach (object obj in _capabilityItems) { AddCapability(obj); } } }