12 2018 档案

摘要:/// /// 保存配置文件的设定 /// /// /// public static void SaveAppConfig(string Key,string Value) { string strFilePath = System.Windows.Forms... 阅读全文
posted @ 2018-12-13 00:45 DerekHan 阅读(460) 评论(0) 推荐(0)
摘要:using System.Reflection; Type t = obj.GetType();//获得该类的Type foreach (PropertyInfo pi in t.GetProperties()){ var name = pi.Name;//获得属性的名字,后面就可以根据名字判断来进 阅读全文
posted @ 2018-12-11 15:54 DerekHan 阅读(13672) 评论(0) 推荐(2)