阅读背景:

C#为class和operator =分配默认属性

来源:互联网 

Problem 1:

I have a simple winforms app and I want to DataBind my Person.Name property to a textbox. Name is of type StringField. I originally defined the Name property as String. The data binding works great on value types such as String. I would like the StringField.Value property to be the default property of StringField. I want to see the value of StringField.Value in the textBox rather than the text "FieldApp.StringField".I have a simple winforms app and I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: