public void BindClassEntityList() { if (InterfaceName.IsNotEmpty()) { var entity = TypeManager.Data.First(p => p.InterfaceType == Type.GetType(InterfaceName)); ClassEntityList = entity.ClassEntityList.Copy(); ClassEntityList.ForEach(p => p.Title = p.Title + " (" + p.Provider + ")"); txtProvider.DisplayMember = "Title"; txtProvider.ValueMember = "Provider"; txtProvider.DataSource = ClassEntityList; txtProvider.SelectedIndex = -1; } }