private void LoadComboItems() { var items = new List <PartsColor>(); using (var service = new SocketPlanServiceNoTimeout()) { items.AddRange(service.GetPartsColors()); } items.RemoveAll(p => p.Name.Contains("電")); this.wallColumn.DataSource = items; this.wallColumn.ValueMember = "Id"; this.wallColumn.DisplayMember = "NameWithPrefix"; }