private void UpdateFuntionList() { lbFuntions.Items.Clear(); foreach (var name in _nameManager.GetAllNames()) { lbFuntions.Items.Add(name); } }