2015年2月13日

06-自定义Attribute标记案例

摘要: 自定义Attribute:1)Attribute都从System. Attribute类继承,类名一般以Attribute结尾2) 标记类的用途—AttributeUsage标记(标记的标记):AttributeTargets:可以添加到哪些成员上。 AllowMultiple:是否允许在一个成员上... 阅读全文

posted @ 2015-02-13 16:00 zy` 阅读(849) 评论(2) 推荐(0) 编辑

05-XML遍历递归显示到TreeView上(XDocument类)

摘要: 1、XML文件(x1.xml): 张三 18 Male 李四 19 Female 杨廉壬 20 ... 阅读全文

posted @ 2015-02-13 14:19 zy` 阅读(348) 评论(0) 推荐(0) 编辑

导航