博客园站长
这是人类成长进步中记录的每一时刻
  PropertyInfo[] poroInfo = typeof(Resources).GetProperties(System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static);
            poroInfo = poroInfo.Where(item => item.PropertyType == typeof(Bitmap)).ToArray();
            List<Bitmap> bmpList = poroInfo.Select<PropertyInfo, Bitmap>(item => (Bitmap)item.GetValue(item, null)).ToList();
posted on 2016-02-25 16:22  dm3344  阅读(1703)  评论(0)    收藏  举报