2013年3月18日

WPF 关于多语言 的实现 学习,利用反射中的特性

摘要: 1、创建一个表示各语言显示string的特性类MyAttribute 1 using System; 2 using System.Collections.Generic; 3 4 namespace MyTypeLib 5 { 6 public sealed class DisplayAttribute : System.Attribute 7 { 8 public String Description { get; set; } 9 public Dictionary<string, string> Display = new Dictio... 阅读全文

posted @ 2013-03-18 16:52 xiaoboz 阅读(384) 评论(0) 推荐(0)

导航