DataSource for User Control
问题 I am buidling a user control. Currently it consists of a textbox and a button - as a learning experience. This will be used as a basis for a more useful control. I want to add a DataSource, display member and ValueMember. Here is my code for the datasource. It will display in the Properties editor, but is disabled and grayed out. What am I missing? private object MyDataSource; [Browsable(true)] [TypeConverter("System.Windows.Forms.Design.DataSourceConverter")] [System.ComponentModel.Bindable