摘要: 在设计组件时,光设置这个属性值是不能够给目标属性赋默认值的: 1 private int _count; 2 3 [Browsable(true)] 4 [Description("Get or set the count of elments.")] 5 [DefaultValue(10)] 6 public int Count 7 { 8 get 9 {10 return _count;11 ... 阅读全文
posted @ 2012-11-10 15:34 步步为赢 阅读(2293) 评论(1) 推荐(0)