摘要: 首先定义一个枚举 /// <summary> /// 枚举注释的自定义属性类 /// </summary> public class EnumDescriptionAttribute : Attribute { private string m_strDescription; public EnumDescriptionAttribute(string strPrinterName) { m_strDescription = strPrinterName; } public... 阅读全文
posted @ 2012-11-23 11:39 古兰色回忆 阅读(5877) 评论(0) 推荐(0) 编辑