C
cody
I do not think it is good style to use these because you have to hardcode
the propertynamed in your code as string literals. Wouldn't it be better to
use delegates instead?
myComboBox.DisplayMember = new ReturnStringDelegate(myObj.Name);
myComboBox.Valuemember = new ReturnObjectDelegate(myObj.Value);
the propertynamed in your code as string literals. Wouldn't it be better to
use delegates instead?
myComboBox.DisplayMember = new ReturnStringDelegate(myObj.Name);
myComboBox.Valuemember = new ReturnObjectDelegate(myObj.Value);